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

Unified Diff: content/gpu/gpu_main.cc

Issue 1831513003: Pull gpu service/client shared memory buffer code to GpuMemoryBufferSupport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed ifdef mixup Created 4 years, 9 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: content/gpu/gpu_main.cc
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index 9c2211edecfbd6ba2124a835adab9f7c12784473..620a5e0397436d8d3075b9f73d1398ac11349aa9 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -35,6 +35,7 @@
#include "gpu/config/gpu_info_collector.h"
#include "gpu/config/gpu_switches.h"
#include "gpu/config/gpu_util.h"
+#include "gpu/ipc/common/gpu_memory_buffer_support.h"
#include "ui/events/platform/platform_event_source.h"
#include "ui/gl/gl_context.h"
#include "ui/gl/gl_implementation.h"
@@ -388,7 +389,7 @@ int GpuMain(const MainFunctionParams& parameters) {
logging::SetLogMessageHandler(NULL);
scoped_ptr<GpuMemoryBufferFactory> gpu_memory_buffer_factory;
- if (GpuMemoryBufferFactory::GetNativeType() != gfx::EMPTY_BUFFER)
+ if (gpu::GetNativeGpuMemoryBufferType() != gfx::EMPTY_BUFFER)
gpu_memory_buffer_factory = GpuMemoryBufferFactory::CreateNativeType();
gpu::SyncPointManager sync_point_manager(false);

Powered by Google App Engine
This is Rietveld 408576698