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() { |