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

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

Issue 10689108: Aura: Have ui::Layer implement WebKit::WebExternalTextureLayerClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nuke TestImageTransportFactory. Created 8 years, 5 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/image_transport_surface_win.cc
diff --git a/content/common/gpu/image_transport_surface_win.cc b/content/common/gpu/image_transport_surface_win.cc
index cc6dc879879434d3a8b5b1eaa3283e42e4b2453e..78e090ae83d58b469afb0f2338a841b3485a1ecf 100644
--- a/content/common/gpu/image_transport_surface_win.cc
+++ b/content/common/gpu/image_transport_surface_win.cc
@@ -51,6 +51,7 @@ class PbufferImageTransportSurface
virtual void OnBufferPresented(uint32 sync_point) OVERRIDE;
virtual void OnResizeViewACK() OVERRIDE;
virtual void OnResize(gfx::Size size) OVERRIDE;
+ virtual gfx::Size GetSize() OVERRIDE;
private:
virtual ~PbufferImageTransportSurface();
@@ -230,6 +231,10 @@ void PbufferImageTransportSurface::OnResize(gfx::Size size) {
visible_size_ = size;
}
+gfx::Size PbufferImageTransportSurface::GetSize() {
+ return GLSurfaceAdapter::GetSize();
+}
+
} // namespace anonymous
// static

Powered by Google App Engine
This is Rietveld 408576698