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

Unified Diff: content/child/browser_font_resource_trusted.h

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 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
Index: content/child/browser_font_resource_trusted.h
diff --git a/content/child/browser_font_resource_trusted.h b/content/child/browser_font_resource_trusted.h
index 2e399badca7964832db8c9ff7f8b879a3363d91f..19d25529c6bbfa30daef5a60563a3b9bc35970a3 100644
--- a/content/child/browser_font_resource_trusted.h
+++ b/content/child/browser_font_resource_trusted.h
@@ -16,8 +16,7 @@
#include "ppapi/proxy/plugin_resource.h"
#include "ppapi/shared_impl/ppapi_preferences.h"
#include "ppapi/thunk/ppb_browser_font_trusted_api.h"
-
-class SkCanvas;
+#include "skia/ext/cdl_common.h"
namespace blink {
class WebFont;
@@ -61,7 +60,7 @@ class BrowserFontResource_Trusted
~BrowserFontResource_Trusted() override;
// Internal version of DrawTextAt that takes a mapped PlatformCanvas.
- void DrawTextToCanvas(SkCanvas* destination,
+ void DrawTextToCanvas(CdlCanvas* destination,
const PP_BrowserFont_Trusted_TextRun& text,
const PP_Point* position,
uint32_t color,
« no previous file with comments | « content/browser/web_contents/aura/shadow_layer_delegate.cc ('k') | content/child/browser_font_resource_trusted.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698