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

Unified Diff: ppapi/shared_impl/private/ppb_browser_font_trusted_shared.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 | « ppapi/shared_impl/private/ppb_browser_font_trusted_shared.h ('k') | ppapi/thunk/ppb_image_data_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc
===================================================================
--- ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc (revision 167659)
+++ ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc (working copy)
@@ -321,7 +321,7 @@
PPB_ImageData_API* image = static_cast<PPB_ImageData_API*>(
enter.object());
- skia::PlatformCanvas* canvas = image->GetPlatformCanvas();
+ SkCanvas* canvas = image->GetPlatformCanvas();
bool needs_unmapping = false;
if (!canvas) {
needs_unmapping = true;
@@ -399,7 +399,7 @@
}
void PPB_BrowserFont_Trusted_Shared::DrawTextToCanvas(
- skia::PlatformCanvas* destination,
+ SkCanvas* destination,
const PP_BrowserFont_Trusted_TextRun& text,
const PP_Point* position,
uint32_t color,
« no previous file with comments | « ppapi/shared_impl/private/ppb_browser_font_trusted_shared.h ('k') | ppapi/thunk/ppb_image_data_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698