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

Unified Diff: mandoline/ui/aura/surface_context_factory.cc

Issue 1181013010: Support impl-side painting in Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit warning Created 5 years, 6 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: mandoline/ui/aura/surface_context_factory.cc
diff --git a/mandoline/ui/aura/surface_context_factory.cc b/mandoline/ui/aura/surface_context_factory.cc
index e5fcbb54fcc55631e48b71d6fb072adeb31ca938..ebf9807aa1e4c7b4a5b1c5f54ff13fd4ac29c81e 100644
--- a/mandoline/ui/aura/surface_context_factory.cc
+++ b/mandoline/ui/aura/surface_context_factory.cc
@@ -63,7 +63,6 @@ void SurfaceContextFactory::RemoveCompositor(ui::Compositor* compositor) {
}
bool SurfaceContextFactory::DoesCreateTestContexts() {
- NOTIMPLEMENTED();
return false;
}
@@ -81,13 +80,11 @@ cc::SharedBitmapManager* SurfaceContextFactory::GetSharedBitmapManager() {
gpu::GpuMemoryBufferManager*
SurfaceContextFactory::GetGpuMemoryBufferManager() {
- NOTIMPLEMENTED();
- return nullptr;
+ return &gpu_memory_buffer_manager_;
}
cc::TaskGraphRunner* SurfaceContextFactory::GetTaskGraphRunner() {
- NOTIMPLEMENTED();
- return nullptr;
+ return raster_thread_helper_.task_graph_runner();
}
scoped_ptr<cc::SurfaceIdAllocator>

Powered by Google App Engine
This is Rietveld 408576698