#include "components/viz/common/hit_test/hit_test_region_list.h"
#include "components/viz/common/quads/compositor_frame.h"
-#if BUILDFLAG(IS_TIZEN)
-#include "gpu/command_buffer/client/gles2_interface.h"
-#endif
-
namespace cc {
namespace mojo_embedder {
power_mode_voter_.OnFrameProduced(frame.render_pass_list.back()->damage_rect,
frame.device_scale_factor());
-#if BUILDFLAG(IS_TIZEN)
- if (auto* compositor_context_provider = context_provider()) {
- compositor_context_provider->ContextGL()->Flush();
- compositor_context_provider->ContextGL()->GetError();
- }
-#endif
compositor_frame_sink_ptr_->SubmitCompositorFrame(
local_surface_id_, std::move(frame), std::move(hit_test_region_list), 0);
}