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

Unified Diff: ui/gfx/ozone/impl/file_surface_factory.cc

Issue 249413003: ozone: dri: Composite to intermediate surface & copy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor cleanup Created 6 years, 8 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
Index: ui/gfx/ozone/impl/file_surface_factory.cc
diff --git a/ui/gfx/ozone/impl/file_surface_factory.cc b/ui/gfx/ozone/impl/file_surface_factory.cc
index 10dd8bf573cc638860d7a9782a98357780c54bc9..0d09bb8335bde5200afa9052a2b0828b379ff4e8 100644
--- a/ui/gfx/ozone/impl/file_surface_factory.cc
+++ b/ui/gfx/ozone/impl/file_surface_factory.cc
@@ -44,7 +44,7 @@ class FileSurface : public SurfaceOzoneCanvas {
virtual skia::RefPtr<SkCanvas> GetCanvas() OVERRIDE {
return skia::SharePtr(surface_->getCanvas());
}
- virtual bool PresentCanvas() OVERRIDE {
+ virtual bool PresentCanvas(const gfx::Rect& damage) OVERRIDE {
SkBitmap bitmap;
bitmap.setConfig(surface_->getCanvas()->imageInfo());

Powered by Google App Engine
This is Rietveld 408576698