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

Unified Diff: content/test/mock_render_process.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/shell/webkit_test_runner.cc ('k') | ppapi/proxy/ppb_image_data_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/mock_render_process.cc
===================================================================
--- content/test/mock_render_process.cc (revision 167659)
+++ content/test/mock_render_process.cc (working copy)
@@ -20,7 +20,7 @@
skia::PlatformCanvas* MockRenderProcess::GetDrawingCanvas(
TransportDIB** memory,
const gfx::Rect& rect) {
- size_t stride = skia::PlatformCanvas::StrideForWidth(rect.width());
+ size_t stride = skia::PlatformCanvasStrideForWidth(rect.width());
size_t size = stride * rect.height();
// Unlike RenderProcessImpl, when we're a test, we can just create transport
« no previous file with comments | « content/shell/webkit_test_runner.cc ('k') | ppapi/proxy/ppb_image_data_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698