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

Unified Diff: content/gpu/in_process_gpu_thread.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/in_process_gpu_thread.cc
diff --git a/content/gpu/in_process_gpu_thread.cc b/content/gpu/in_process_gpu_thread.cc
index 8f170c3940de2a23083a43bb1334ae561938b3d1..ccd3594a4d06621a1ba7eb3ba028d68b105eef14 100644
--- a/content/gpu/in_process_gpu_thread.cc
+++ b/content/gpu/in_process_gpu_thread.cc
@@ -10,6 +10,7 @@
#include "content/gpu/gpu_child_thread.h"
#include "content/gpu/gpu_process.h"
#include "gpu/command_buffer/service/sync_point_manager.h"
+#include "gpu/ipc/common/gpu_memory_buffer_support.h"
#if defined(OS_ANDROID)
#include "base/android/jni_android.h"
@@ -27,7 +28,7 @@ InProcessGpuThread::InProcessGpuThread(
gpu_preferences_(gpu_preferences),
sync_point_manager_override_(sync_point_manager_override),
gpu_memory_buffer_factory_(
- GpuMemoryBufferFactory::GetNativeType() != gfx::EMPTY_BUFFER
+ gpu::GetNativeGpuMemoryBufferType() != gfx::EMPTY_BUFFER
? GpuMemoryBufferFactory::CreateNativeType()
: nullptr) {
if (!sync_point_manager_override_) {

Powered by Google App Engine
This is Rietveld 408576698