Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: tests/PictureTest.cpp

Issue 617393004: BBHs: void* data -> unsigned data (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: bench Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/PictureTest.cpp
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp
index c41b327dab507033a9fe1266dc06fc074aac53ba..7911049ec6781683e1016d7ca0dac24d1e3db7fd 100644
--- a/tests/PictureTest.cpp
+++ b/tests/PictureTest.cpp
@@ -1865,17 +1865,16 @@ struct CountingBBH : public SkBBoxHierarchy {
CountingBBH() : searchCalls(0) {}
robertphillips 2014/10/02 12:27:35 SK_OVERRIDE ?
mtklein 2014/10/02 14:32:09 Done.
- virtual void search(const SkRect& query, SkTDArray<void*>* results) const {
+ virtual void search(const SkRect& query, SkTDArray<unsigned>* results) const {
this->searchCalls++;
}
// All other methods unimplemented.
robertphillips 2014/10/02 12:27:35 same here ?
mtklein 2014/10/02 14:32:09 Done.
- virtual void insert(void* data, const SkRect& bounds, bool defer) {}
+ virtual void insert(unsigned data, const SkRect& bounds, bool defer) {}
virtual void flushDeferredInserts() {}
virtual void clear() {}
virtual int getCount() const { return 0; }
virtual int getDepth() const { return 0; }
- virtual void rewindInserts() {}
};
class SpoonFedBBHFactory : public SkBBHFactory {

Powered by Google App Engine
This is Rietveld 408576698