aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar sglez@google.com <sglez@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-30 17:43:31 +0000
committerGravatar sglez@google.com <sglez@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-30 17:43:31 +0000
commitffb71f2dd5f1cdc905c483737bb56080adc56cc9 (patch)
treec281cb5827ed2ef68ad6b4229ea631f89d07d5d0 /tests
parent8c902126a90f37b6a038a78488c6215fa0c34b7d (diff)
Fix rtree tests build error
Review URL: https://codereview.chromium.org/23531019 git-svn-id: http://skia.googlecode.com/svn/trunk@11038 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r--tests/RTreeTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/RTreeTest.cpp b/tests/RTreeTest.cpp
index 655336c676..666750b531 100644
--- a/tests/RTreeTest.cpp
+++ b/tests/RTreeTest.cpp
@@ -145,9 +145,9 @@ static void test_rtree(skiatest::Reporter* reporter) {
rtree_test_main(rtree, reporter);
// Rtree that orders input rectangles on deferred insert.
- SkRTree* unsortedRtree = SkRTree::Create(MIN_CHILDREN, MAX_CHILDREN, false);
- SkAutoUnref auo(orderedRtree);
- rtree_test_main(orderedRtree, reporter);
+ SkRTree* unsortedRtree = SkRTree::Create(MIN_CHILDREN, MAX_CHILDREN, 1, false);
+ SkAutoUnref auo(unsortedRtree);
+ rtree_test_main(unsortedRtree, reporter);
}