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

Unified Diff: webkit/plugins/ppapi/ppb_graphics_2d_impl.h

Issue 11571016: Only unbind a Graphics2D on destruction when we're actually bound. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « content/renderer/pepper/pepper_graphics_2d_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_graphics_2d_impl.h
diff --git a/webkit/plugins/ppapi/ppb_graphics_2d_impl.h b/webkit/plugins/ppapi/ppb_graphics_2d_impl.h
index 39461b8af29342fc8e7ad9bc8faa4964d984a684..c97f8dc885af1892352b3c1b4044df35c206dbcf 100644
--- a/webkit/plugins/ppapi/ppb_graphics_2d_impl.h
+++ b/webkit/plugins/ppapi/ppb_graphics_2d_impl.h
@@ -82,6 +82,7 @@ class WEBKIT_PLUGINS_EXPORT PPB_Graphics2D_Impl :
void ViewFlushedPaint();
PPB_ImageData_Impl* image_data() { return image_data_.get(); }
+ PluginInstance* bound_instance() const { return bound_instance_; }
// Scale |op_rect| to logical pixels, taking care to include partially-
// covered logical pixels (aka DIPs). Also scale optional |delta| to logical
« no previous file with comments | « content/renderer/pepper/pepper_graphics_2d_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698