OSDN Git Service

cleanup
authorNicolas Roard <nicolas@android.com>
Wed, 10 Feb 2010 18:14:11 +0000 (18:14 +0000)
committerNicolas Roard <nicolas@android.com>
Thu, 11 Feb 2010 14:05:56 +0000 (14:05 +0000)
(cherry picked from commit fc34a9dc6e4aa1d0e96fc5523ee77e618648e615)

WebCore/platform/graphics/android/AndroidAnimation.h
WebCore/platform/graphics/android/LayerAndroid.cpp
WebCore/platform/graphics/android/LayerAndroid.h

index c4be10b..75e2f35 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "FloatPoint.h"
 #include "FloatPoint3D.h"
+#include "GraphicsLayer.h"
 #include "HashMap.h"
 #include "LayerAndroid.h"
 #include "RefPtr.h"
@@ -30,7 +31,6 @@
 namespace WebCore {
 
 class AndroidAnimation;
-class GraphicsLayerAndroid;
 class TimingFunction;
 
 class AndroidAnimationValue : public RefCounted<AndroidAnimationValue> {
index 1788f2d..e080d3d 100644 (file)
@@ -90,8 +90,8 @@ LayerAndroid::LayerAndroid(LayerAndroid* layer) :
     m_anchorPoint(layer->m_anchorPoint),
     m_scale(layer->m_scale),
     m_fixedLeft(layer->m_fixedLeft),
-    m_fixedRight(layer->m_fixedRight),
     m_fixedTop(layer->m_fixedTop),
+    m_fixedRight(layer->m_fixedRight),
     m_fixedBottom(layer->m_fixedBottom)
 {
     if (layer->m_recordingPicture) {
index 8436921..6ca4083 100644 (file)
 #include "FloatPoint.h"
 #include "FloatPoint3D.h"
 #include "FloatSize.h"
-#include "GraphicsContext.h"
-#include "GraphicsLayer.h"
 #include "Length.h"
 #include "RefPtr.h"
 #include "StringHash.h"
 #include "Vector.h"
-#include <wtf/HashSet.h>
+#include <wtf/HashMap.h>
 
 class SkCanvas;
 class SkPicture;
@@ -66,7 +64,6 @@ public:
     void setIsRootLayer(bool isRootLayer) { m_isRootLayer = isRootLayer; }
 
     void paintOn(int scrollX, int scrollY, int width, int height, float scale, SkCanvas*);
-    GraphicsContext* paintContext();
     void removeAllChildren() { m_children.clear(); }
     void addChildren(LayerAndroid* layer) { m_children.append(layer); }
     bool prepareContext(bool force = false);