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

Unified Diff: content/common/gpu/texture_image_transport_surface.cc

Issue 15685003: Part 2/3 (GL) of adding with device scale factor to transport surfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
Index: content/common/gpu/texture_image_transport_surface.cc
diff --git a/content/common/gpu/texture_image_transport_surface.cc b/content/common/gpu/texture_image_transport_surface.cc
index 858c023f700b9aaa2ba35f74f83cf4bdccfe7b27..32d47ba529268e56338a4218a0ae8c34f21ec4f3 100644
--- a/content/common/gpu/texture_image_transport_surface.cc
+++ b/content/common/gpu/texture_image_transport_surface.cc
@@ -168,7 +168,8 @@ void* TextureImageTransportSurface::GetConfig() {
return surface_.get() ? surface_->GetConfig() : NULL;
}
-void TextureImageTransportSurface::OnResize(gfx::Size size) {
+void TextureImageTransportSurface::OnResize(gfx::Size size,
+ float scale_factor) {
piman 2013/05/22 19:41:14 I think we want to fix the issue on Aura as well.
ccameron 2013/05/22 20:00:06 Done.
current_size_ = size;
CreateBackTexture();
}

Powered by Google App Engine
This is Rietveld 408576698