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

Unified Diff: ppapi/shared_impl/private/ppb_browser_font_trusted_shared.h

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
Index: ppapi/shared_impl/private/ppb_browser_font_trusted_shared.h
===================================================================
--- ppapi/shared_impl/private/ppb_browser_font_trusted_shared.h (revision 165342)
+++ ppapi/shared_impl/private/ppb_browser_font_trusted_shared.h (working copy)
@@ -18,9 +18,7 @@
#include "ppapi/shared_impl/resource.h"
#include "ppapi/thunk/ppb_browser_font_trusted_api.h"
-namespace skia {
-class PlatformCanvas;
-}
+class SkCanvas;
namespace WebKit {
class WebFont;
@@ -73,7 +71,7 @@
const Preferences& prefs);
// Internal version of DrawTextAt that takes a mapped PlatformCanvas.
- void DrawTextToCanvas(skia::PlatformCanvas* destination,
+ void DrawTextToCanvas(SkCanvas* destination,
const PP_BrowserFont_Trusted_TextRun& text,
const PP_Point* position,
uint32_t color,

Powered by Google App Engine
This is Rietveld 408576698