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

Side by Side Diff: tests/PathOpsSkpClipTest.cpp

Issue 1329853005: Make SkGraphics::Term a no-op, stop calling it. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove deprecation Created 5 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 unified diff | Download patch
« no previous file with comments | « src/core/SkPaint.cpp ('k') | tools/VisualBench/VisualBench.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "CrashHandler.h" 8 #include "CrashHandler.h"
9 // #include "OverwriteLine.h" 9 // #include "OverwriteLine.h"
10 #include "Resources.h" 10 #include "Resources.h"
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after
1095 } 1095 }
1096 SkDebugf("%s", header.c_str()); 1096 SkDebugf("%s", header.c_str());
1097 Iter iter; 1097 Iter iter;
1098 Test* test; 1098 Test* test;
1099 while ((test = iter.next()) != nullptr) { 1099 while ((test = iter.next()) != nullptr) {
1100 SkAutoTDelete<Test> owned(test); 1100 SkAutoTDelete<Test> owned(test);
1101 if (!SkCommandLineFlags::ShouldSkip(FLAGS_match, test->getName())) { 1101 if (!SkCommandLineFlags::ShouldSkip(FLAGS_match, test->getName())) {
1102 test->run(); 1102 test->run();
1103 } 1103 }
1104 } 1104 }
1105 SkGraphics::Term();
1106 return 0; 1105 return 0;
1107 } 1106 }
1108 1107
1109 #if !defined(SK_BUILD_FOR_IOS) 1108 #if !defined(SK_BUILD_FOR_IOS)
1110 int main(int argc, char * const argv[]) { 1109 int main(int argc, char * const argv[]) {
1111 return tool_main(argc, (char**) argv); 1110 return tool_main(argc, (char**) argv);
1112 } 1111 }
1113 #endif 1112 #endif
OLDNEW
« no previous file with comments | « src/core/SkPaint.cpp ('k') | tools/VisualBench/VisualBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698