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

Unified Diff: webkit/glue/webkit_glue.cc

Issue 10392018: remove WEBKIT_USING_CG (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months 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 | « webkit/glue/webcursor.cc ('k') | webkit/media/webmediaplayer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkit_glue.cc
diff --git a/webkit/glue/webkit_glue.cc b/webkit/glue/webkit_glue.cc
index e5a60b6fb0d439ca6ba6c94314ab45d4de46891b..f2a1205d6b654d3875d2b5ed5725a197b5f97446 100644
--- a/webkit/glue/webkit_glue.cc
+++ b/webkit/glue/webkit_glue.cc
@@ -477,14 +477,7 @@ bool ShouldForcefullyTerminatePluginProcess() {
}
WebCanvas* ToWebCanvas(skia::PlatformCanvas* canvas) {
-#if WEBKIT_USING_SKIA
return canvas;
-#elif WEBKIT_USING_CG
- return skia::GetBitmapContext(skia::GetTopDevice(*canvas));
-#else
- NOTIMPLEMENTED();
- return NULL;
-#endif
}
int GetGlyphPageCount() {
« no previous file with comments | « webkit/glue/webcursor.cc ('k') | webkit/media/webmediaplayer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698