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

Unified Diff: ui/surface/transport_dib.h

Issue 12537014: Make SharedMemory track the size that was actually mapped (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 | « ui/surface/surface.gyp ('k') | ui/surface/transport_dib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/surface/transport_dib.h
===================================================================
--- ui/surface/transport_dib.h (revision 190994)
+++ ui/surface/transport_dib.h (working copy)
@@ -205,6 +205,10 @@
private:
TransportDIB();
+
+ // Verifies that the dib can hold a canvas of the requested dimensions.
+ bool VerifyCanvasSize(int w, int h);
+
#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_ANDROID)
explicit TransportDIB(base::SharedMemoryHandle dib);
base::SharedMemory shared_memory_;
« no previous file with comments | « ui/surface/surface.gyp ('k') | ui/surface/transport_dib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698