Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / cc / layers / contents_scaling_layer_unittest.cc
index 70f66f5..38385a0 100644 (file)
@@ -18,19 +18,19 @@ class MockContentsScalingLayer : public ContentsScalingLayer {
   MockContentsScalingLayer()
       : ContentsScalingLayer() {}
 
-  virtual void SetNeedsDisplayRect(const gfx::RectF& dirty_rect) OVERRIDE {
+  void SetNeedsDisplayRect(const gfx::Rect& dirty_rect) override {
     last_needs_display_rect_ = dirty_rect;
     ContentsScalingLayer::SetNeedsDisplayRect(dirty_rect);
   }
 
-  const gfx::RectF& LastNeedsDisplayRect() const {
+  const gfx::Rect& LastNeedsDisplayRect() const {
     return last_needs_display_rect_;
   }
 
  private:
-  virtual ~MockContentsScalingLayer() {}
+  ~MockContentsScalingLayer() override {}
 
-  gfx::RectF last_needs_display_rect_;
+  gfx::Rect last_needs_display_rect_;
 };
 
 static void CalcDrawProps(FakeLayerTreeHost* host, float device_scale_factor) {