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

Unified Diff: content/shell/renderer/layout_test/layout_test_content_renderer_client.cc

Issue 2873203003: color: Add --force-color-profile command line flag (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « content/shell/renderer/layout_test/layout_test_content_renderer_client.h ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/layout_test/layout_test_content_renderer_client.cc
diff --git a/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc b/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc
index 5c0be1c2c1d6ef8270d61062a24c1dcd7cd1a308..340bf704021e140eb1b1bf3affad3083e2d7ba88 100644
--- a/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc
+++ b/content/shell/renderer/layout_test/layout_test_content_renderer_client.cc
@@ -254,21 +254,6 @@ LayoutTestContentRendererClient::CreateMediaStreamRendererFactory() {
#endif
}
-std::unique_ptr<gfx::ICCProfile>
-LayoutTestContentRendererClient::GetImageDecodeColorProfile() {
- // TODO(ccameron): Make all platforms use the same color profile for layout
- // tests.
-#if defined(OS_WIN)
- return base::WrapUnique(new gfx::ICCProfile(
- GetTestingICCProfile("sRGB")));
-#elif defined(OS_MACOSX)
- return base::WrapUnique(new gfx::ICCProfile(
- GetTestingICCProfile("genericRGB")));
-#else
- return base::WrapUnique(new gfx::ICCProfile());
-#endif
-}
-
void LayoutTestContentRendererClient::DidInitializeWorkerContextOnWorkerThread(
v8::Local<v8::Context> context) {
blink::WebTestingSupport::InjectInternalsObject(context);
« no previous file with comments | « content/shell/renderer/layout_test/layout_test_content_renderer_client.h ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698