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

Unified Diff: content/renderer/browser_plugin/browser_plugin.cc

Issue 11138024: Simplify platform_canvas.h by recognizing that PlatformCanvas does not actually extend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/pepper/pepper_platform_image_2d_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/browser_plugin/browser_plugin.cc
===================================================================
--- content/renderer/browser_plugin/browser_plugin.cc (revision 167659)
+++ content/renderer/browser_plugin/browser_plugin.cc (working copy)
@@ -762,7 +762,7 @@
TransportDIB* BrowserPlugin::PopulateResizeGuestParameters(
BrowserPluginHostMsg_ResizeGuest_Params* params,
int view_width, int view_height) {
- const size_t stride = skia::PlatformCanvas::StrideForWidth(view_width);
+ const size_t stride = skia::PlatformCanvasStrideForWidth(view_width);
// Make sure the size of the damage buffer is at least four bytes so that we
// can fit in a magic word to verify that the memory is shared correctly.
size_t size =
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/pepper/pepper_platform_image_2d_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698