summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/TilesProfiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/android/TilesProfiler.h')
-rw-r--r--Source/WebCore/platform/graphics/android/TilesProfiler.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/android/TilesProfiler.h b/Source/WebCore/platform/graphics/android/TilesProfiler.h
index 286d350..a13d471 100644
--- a/Source/WebCore/platform/graphics/android/TilesProfiler.h
+++ b/Source/WebCore/platform/graphics/android/TilesProfiler.h
@@ -58,8 +58,8 @@ public:
float stop();
void clear();
void nextFrame(int left, int top, int right, int bottom, float scale);
- void nextTile(BaseTile& tile, float scale, bool inView);
- void nextInval(const IntRect& rect, float scale);
+ void nextTile(BaseTile* tile, float scale, bool inView);
+ void nextInval(const SkIRect& rect, float scale);
int numFrames() {
return m_records.size();
};
@@ -72,6 +72,8 @@ public:
return &m_records[frame][tile];
}
+ bool enabled() { return m_enabled; }
+
private:
bool m_enabled;
unsigned int m_goodTiles;