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>
This commit is contained in:
Mike Klein 2017-03-06 20:02:32 -05:00 committed by Skia Commit-Bot
parent 4b19b40394
commit f3b16d01e3

View File

@ -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;
}
}