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

Unified Diff: third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp

Issue 2641973002: Use gfx::ICCProfile type consistently (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp
diff --git a/third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp b/third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp
index 466ef4be653ac1455c3aa562cc977ddbd0cfd94a..f1521f2ea3d6ad4e0b716f2b30a8236ad63ef6ed 100644
--- a/third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp
+++ b/third_party/WebKit/Source/platform/testing/ImageDecodeBench.cpp
@@ -256,7 +256,7 @@ int main(int argc, char* argv[]) {
if (argc >= 2 && strcmp(argv[1], "--color-correct") == 0) {
applyColorCorrection = (--argc, ++argv, true);
gfx::ICCProfile profile = gfx::ICCProfileForTestingColorSpin();
- ColorBehavior::setGlobalTargetColorProfile(profile.GetData());
+ ColorBehavior::setGlobalTargetColorProfile(profile);
}
if (argc < 2) {
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/ColorBehavior.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698