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

Unified Diff: ui/compositor/mac/io_surface_context_mac.mm

Issue 753933002: MacViews: Move content::AcceleratedWidget to new component, ui/accelerated_widget_mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20141124-MacViews-MoveSoftwareLayerMac-fromcl
Patch Set: rebase to master Created 6 years, 1 month 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/compositor/mac/io_surface_context_mac.mm
diff --git a/content/browser/compositor/io_surface_context_mac.mm b/ui/compositor/mac/io_surface_context_mac.mm
similarity index 96%
rename from content/browser/compositor/io_surface_context_mac.mm
rename to ui/compositor/mac/io_surface_context_mac.mm
index 82c81b1a9498ea7dc7071e30c4c45121a058dfec..6228a3b6d8905b718ac52af1ab7680e4f9049ea2 100644
--- a/content/browser/compositor/io_surface_context_mac.mm
+++ b/ui/compositor/mac/io_surface_context_mac.mm
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/compositor/io_surface_context_mac.h"
+#include "ui/compositor/mac/io_surface_context_mac.h"
#include <OpenGL/gl.h>
#include <OpenGL/OpenGL.h>
@@ -11,11 +11,10 @@
#include "base/command_line.h"
#include "base/debug/trace_event.h"
#include "base/logging.h"
-#include "ui/base/ui_base_switches.h"
#include "ui/gl/gl_switches.h"
#include "ui/gl/gpu_switching_manager.h"
-namespace content {
+namespace ui {
// static
scoped_refptr<IOSurfaceContext>
@@ -118,4 +117,4 @@ IOSurfaceContext::TypeMap*
base::LazyInstance<IOSurfaceContext::TypeMap>
IOSurfaceContext::type_map_;
-} // namespace content
+} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698