Index: ui/compositor/mac/io_surface_context_mac.h |
diff --git a/content/browser/compositor/io_surface_context_mac.h b/ui/compositor/mac/io_surface_context_mac.h |
similarity index 87% |
rename from content/browser/compositor/io_surface_context_mac.h |
rename to ui/compositor/mac/io_surface_context_mac.h |
index 4e5802a0175feaff280fb1d0aca79caa63561b5c..0b26aac35a657ea5d7f786ab4a2ddf6947a02302 100644 |
--- a/content/browser/compositor/io_surface_context_mac.h |
+++ b/ui/compositor/mac/io_surface_context_mac.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_BROWSER_COMPOSITOR_IO_SURFACE_CONTEXT_MAC_H_ |
-#define CONTENT_BROWSER_COMPOSITOR_IO_SURFACE_CONTEXT_MAC_H_ |
+#ifndef UI_COMPOSITOR_MAC_IO_SURFACE_CONTEXT_MAC_H_ |
+#define UI_COMPOSITOR_MAC_IO_SURFACE_CONTEXT_MAC_H_ |
#include <OpenGL/OpenGL.h> |
#include <map> |
@@ -16,7 +16,7 @@ |
#include "ui/gl/gpu_switching_observer.h" |
#include "ui/gl/scoped_cgl.h" |
-namespace content { |
+namespace ui { |
class IOSurfaceContext |
: public base::RefCounted<IOSurfaceContext>, |
@@ -44,7 +44,7 @@ class IOSurfaceContext |
CGLContextObj cgl_context() const { return cgl_context_; } |
- // content::GpuDataManagerObserver implementation. |
+ // ui::GpuSwitchingObserver implementation. |
void OnGpuSwitched() override; |
private: |
@@ -67,6 +67,6 @@ class IOSurfaceContext |
static TypeMap* type_map(); |
}; |
-} // namespace content |
+} // namespace ui |
-#endif // CONTENT_BROWSER_COMPOSITOR_IO_SURFACE_CONTEXT_MAC_H_ |
+#endif // UI_COMPOSITOR_MAC_IO_SURFACE_CONTEXT_MAC_H_ |