aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-03-06 20:02:32 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-07 01:43:10 +0000
commitf3b16d01e36574d1a0ddf73975a5f72963727aa4 (patch)
treea6d40fb51ecb1d9e1eeaa44285b6dae711c48e08 /tests
parent4b19b403944dd4ab70507c0dea2aa3d38f145eac (diff)
fix RecordOptsTest.cpp on Android framework
Change-Id: Iea45ece603cf0700860f55860b565c73088dca14 Reviewed-on: https://skia-review.googlesource.com/9333 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/RecordOptsTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/RecordOptsTest.cpp b/tests/RecordOptsTest.cpp
index f0b4b837fa..09e774e5af 100644
--- a/tests/RecordOptsTest.cpp
+++ b/tests/RecordOptsTest.cpp
@@ -274,7 +274,9 @@ DEF_TEST(RecordOpts_MergeSvgOpacityAndFilterLayers, r) {
recorder.restore();
assert_merge_svg_opacity_and_filter_layers(r, &record, index,
outerNoOped);
+ #ifndef SK_BUILD_FOR_ANDROID_FRAMEWORK
assert_savelayer_restore(r, &record, index + 3, innerNoOped);
+ #endif
index += 7;
}
}