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

Unified Diff: content/renderer/gpu/compositor_software_output_device_gl_adapter.cc

Issue 11348371: cc: Move WebCompositorOutputSurface and related classes into cc/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forlanding6 Created 8 years 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/renderer/gpu/compositor_software_output_device_gl_adapter.cc
diff --git a/content/renderer/gpu/compositor_software_output_device_gl_adapter.cc b/content/renderer/gpu/compositor_software_output_device_gl_adapter.cc
index e9c8df419aa931c9e2fcde468cce58cf968322ce..1e9372a20571a687c285594e6657ced3c5386193 100644
--- a/content/renderer/gpu/compositor_software_output_device_gl_adapter.cc
+++ b/content/renderer/gpu/compositor_software_output_device_gl_adapter.cc
@@ -39,20 +39,20 @@ CompositorSoftwareOutputDeviceGLAdapter::
Destroy();
}
-WebImage* CompositorSoftwareOutputDeviceGLAdapter::lock(bool forWrite) {
+WebImage* CompositorSoftwareOutputDeviceGLAdapter::Lock(bool forWrite) {
locked_for_write_ = forWrite;
image_ = device_->accessBitmap(forWrite);
return &image_;
}
-void CompositorSoftwareOutputDeviceGLAdapter::unlock() {
+void CompositorSoftwareOutputDeviceGLAdapter::Unlock() {
if (locked_for_write_)
Draw(device_->accessBitmap(false).pixelRef()->pixels());
image_.reset();
}
-void CompositorSoftwareOutputDeviceGLAdapter::didChangeViewportSize(
- WebSize size) {
+void CompositorSoftwareOutputDeviceGLAdapter::DidChangeViewportSize(
+ gfx::Size size) {
if (!initialized_)
Initialize();
« no previous file with comments | « content/renderer/gpu/compositor_software_output_device_gl_adapter.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698