[Coordinated Graphics] Move CompositingCoordinator from platform to WebKit2 layer
[WebKit-https.git] / Source / WebKit2 / WebProcess / WebPage / CoordinatedGraphics / CompositingCoordinator.cpp
similarity index 97%
rename from Source/WebCore/platform/graphics/texmap/coordinated/CompositingCoordinator.cpp
rename to Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.cpp
index 93a8ef30906024f4006e63a712661ec1a97a55c4..eda09fb6de5fd522310a2d1a46991aedb3242ab7 100644 (file)
  */
 
 #include "config.h"
  */
 
 #include "config.h"
+#include "CompositingCoordinator.h"
 
 #if USE(COORDINATED_GRAPHICS)
 
 
 #if USE(COORDINATED_GRAPHICS)
 
-#include "CompositingCoordinator.h"
-
-#include "DOMWindow.h"
-#include "Document.h"
-#include "FrameView.h"
-#include "GraphicsContext.h"
-#include "InspectorController.h"
-#include "MainFrame.h"
-#include "Page.h"
-#include "Settings.h"
+#include <WebCore/DOMWindow.h>
+#include <WebCore/Document.h>
+#include <WebCore/FrameView.h>
+#include <WebCore/GraphicsContext.h>
+#include <WebCore/InspectorController.h>
+#include <WebCore/MainFrame.h>
+#include <WebCore/Page.h>
+#include <WebCore/Settings.h>
 #include <wtf/CurrentTime.h>
 #include <wtf/TemporaryChange.h>
 
 #include <wtf/CurrentTime.h>
 #include <wtf/TemporaryChange.h>
 
-// FIXME: Having this in the platform directory is a layering violation. This does not belong here.
+using namespace WebCore;
 
 
-namespace WebCore {
+namespace WebKit {
 
 CompositingCoordinator::CompositingCoordinator(Page* page, CompositingCoordinator::Client* client)
     : m_page(page)
 
 CompositingCoordinator::CompositingCoordinator(Page* page, CompositingCoordinator::Client* client)
     : m_page(page)
@@ -448,6 +447,6 @@ void CompositingCoordinator::releaseInactiveAtlasesTimerFired()
         m_releaseInactiveAtlasesTimer.stop();
 }
 
         m_releaseInactiveAtlasesTimer.stop();
 }
 
-} // namespace WebCore
+} // namespace WebKit
 
 #endif // USE(COORDINATED_GRAPHICS)
 
 #endif // USE(COORDINATED_GRAPHICS)