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

Unified Diff: ui/gfx/surface/accelerated_surface_mac.h

Issue 8678037: Render Core Animation plugins through WebKit's compositor rather than (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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: ui/gfx/surface/accelerated_surface_mac.h
===================================================================
--- ui/gfx/surface/accelerated_surface_mac.h (revision 111400)
+++ ui/gfx/surface/accelerated_surface_mac.h (working copy)
@@ -64,11 +64,11 @@
// the height or width changes. Returns a unique id of the IOSurface to
// which the surface is bound, or 0 if no changes were made or an error
// occurred. MakeCurrent() will have been called on the new surface.
- uint64 SetSurfaceSize(const gfx::Size& size);
+ uint32 SetSurfaceSize(const gfx::Size& size);
- // Returns the id of this surface's IOSruface, or 0 for
+ // Returns the id of this surface's IOSurface, or 0 for
// transport DIB surfaces.
- uint64 GetSurfaceId();
+ uint32 GetSurfaceId();
// Sets the GL context to be the current one for drawing. Returns true if
// it succeeded.
@@ -148,7 +148,7 @@
base::mac::ScopedCFTypeRef<CFTypeRef> io_surface_;
// The id of |io_surface_| or 0 if that's NULL.
- uint64 io_surface_id_;
+ uint32 io_surface_id_;
// TODO(dspringer): If we end up keeping this TransportDIB mechanism, this
// should really be a scoped_ptr_malloc<>, with a deallocate functor that

Powered by Google App Engine
This is Rietveld 408576698