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

Unified Diff: content/browser/compositor/gpu_process_transport_factory.cc

Issue 312393002: ozone: Move the factory interfaces into a common target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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: content/browser/compositor/gpu_process_transport_factory.cc
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
index 1f8b3c022f0cd3ab502a07f5d3869744ab430892..ce03a360f3b207e38a044333fb6e473a4445b53c 100644
--- a/content/browser/compositor/gpu_process_transport_factory.cc
+++ b/content/browser/compositor/gpu_process_transport_factory.cc
@@ -48,7 +48,7 @@
#elif defined(USE_OZONE)
#include "content/browser/compositor/overlay_candidate_validator_ozone.h"
#include "content/browser/compositor/software_output_device_ozone.h"
-#include "ui/gfx/ozone/surface_factory_ozone.h"
+#include "ui/ozone/factories/surface_factory_ozone.h"
#elif defined(USE_X11)
#include "content/browser/compositor/software_output_device_x11.h"
#elif defined(OS_MACOSX)
@@ -121,8 +121,8 @@ scoped_ptr<cc::SoftwareOutputDevice> CreateSoftwareOutputDevice(
scoped_ptr<cc::OverlayCandidateValidator> CreateOverlayCandidateValidator(
gfx::AcceleratedWidget widget) {
#if defined(USE_OZONE)
- gfx::OverlayCandidatesOzone* overlay_candidates =
- gfx::SurfaceFactoryOzone::GetInstance()->GetOverlayCandidates(widget);
+ ui::OverlayCandidatesOzone* overlay_candidates =
+ ui::SurfaceFactoryOzone::GetInstance()->GetOverlayCandidates(widget);
if (overlay_candidates && CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableHardwareOverlays)) {
return scoped_ptr<cc::OverlayCandidateValidator>(

Powered by Google App Engine
This is Rietveld 408576698