Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / cc / layers / heads_up_display_layer_impl.h
index 47afa1f..a5ed9a2 100644 (file)
@@ -73,7 +73,7 @@ class CC_EXPORT HeadsUpDisplayLayerImpl : public LayerImpl {
   virtual void AsValueInto(base::DictionaryValue* dict) const OVERRIDE;
 
   void UpdateHudContents();
-  void DrawHudContents(SkCanvas* canvas) const;
+  void DrawHudContents(SkCanvas* canvas);
 
   void DrawText(SkCanvas* canvas,
                 SkPaint* paint,
@@ -108,8 +108,7 @@ class CC_EXPORT HeadsUpDisplayLayerImpl : public LayerImpl {
                               const PaintTimeCounter* paint_time_counter,
                               int top,
                               int right) const;
-  void DrawDebugRects(SkCanvas* canvas,
-                      DebugRectHistory* debug_rect_history) const;
+  void DrawDebugRects(SkCanvas* canvas, DebugRectHistory* debug_rect_history);
 
   scoped_ptr<ScopedResource> hud_resource_;
   scoped_ptr<SkCanvas> hud_canvas_;
@@ -119,6 +118,7 @@ class CC_EXPORT HeadsUpDisplayLayerImpl : public LayerImpl {
   Graph fps_graph_;
   Graph paint_time_graph_;
   MemoryHistory::Entry memory_entry_;
+  int current_paint_rect_color_;
 
   base::TimeTicks time_of_last_graph_update_;