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

Unified Diff: skia/ext/vector_platform_device_linux.cc

Issue 5741001: Even more virtual method deinlining. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (windows) Created 10 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
« no previous file with comments | « skia/ext/vector_platform_device_linux.h ('k') | webkit/appcache/appcache_url_request_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/vector_platform_device_linux.cc
diff --git a/skia/ext/vector_platform_device_linux.cc b/skia/ext/vector_platform_device_linux.cc
index 3d4559615ac4a2eed474d53c60a17978e535acdd..94292cdb23f252602bed12af4f7c560b530db9bf 100644
--- a/skia/ext/vector_platform_device_linux.cc
+++ b/skia/ext/vector_platform_device_linux.cc
@@ -122,6 +122,18 @@ VectorPlatformDevice::~VectorPlatformDevice() {
cairo_destroy(context_);
}
+SkDeviceFactory* VectorPlatformDevice::getDeviceFactory() {
+ return SkNEW(VectorPlatformDeviceFactory);
+}
+
+bool VectorPlatformDevice::IsVectorial() {
+ return true;
+}
+
+PlatformDevice::PlatformSurface VectorPlatformDevice::beginPlatformPaint() {
+ return context_;
+}
+
void VectorPlatformDevice::drawBitmap(const SkDraw& draw,
const SkBitmap& bitmap,
const SkMatrix& matrix,
« no previous file with comments | « skia/ext/vector_platform_device_linux.h ('k') | webkit/appcache/appcache_url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698