Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2712)

Unified Diff: android_webview/browser/parent_output_surface.cc

Issue 2399983003: cc: Make OutputSurface::Reshape abstract (Closed)
Patch Set: reshapeabstract: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | blimp/client/support/compositor/blimp_embedder_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/parent_output_surface.cc
diff --git a/android_webview/browser/parent_output_surface.cc b/android_webview/browser/parent_output_surface.cc
index d245cac3e06b501e87c8f13b1daeb14e63405975..81ae0855cd3da3b98fda0ffb58da4614f2f95b99 100644
--- a/android_webview/browser/parent_output_surface.cc
+++ b/android_webview/browser/parent_output_surface.cc
@@ -38,10 +38,7 @@ void ParentOutputSurface::BindFramebuffer() {
void ParentOutputSurface::Reshape(const gfx::Size& size,
float scale_factor,
const gfx::ColorSpace& color_space,
- bool has_alpha) {
- DCHECK_EQ(1.f, scale_factor);
- surface_size_ = size;
-}
+ bool has_alpha) {}
void ParentOutputSurface::SwapBuffers(cc::OutputSurfaceFrame frame) {
context_provider_->ContextGL()->ShallowFlushCHROMIUM();
« no previous file with comments | « no previous file | blimp/client/support/compositor/blimp_embedder_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698