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

Unified Diff: content/public/renderer/content_renderer_client.cc

Issue 2226733003: Color: Clean up color profile handling for layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master2
Patch Set: Fix windows Created 4 years, 4 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: content/public/renderer/content_renderer_client.cc
diff --git a/content/public/renderer/content_renderer_client.cc b/content/public/renderer/content_renderer_client.cc
index 4ad49c837457f80bed69b33a7476de1b25c4f2bf..97c409d1a3d5a56c132846bbb7e0052aa3db460b 100644
--- a/content/public/renderer/content_renderer_client.cc
+++ b/content/public/renderer/content_renderer_client.cc
@@ -7,6 +7,7 @@
#include "content/public/renderer/media_stream_renderer_factory.h"
#include "media/base/renderer_factory.h"
#include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClient.h"
+#include "ui/gfx/icc_profile.h"
namespace content {
@@ -184,6 +185,11 @@ ContentRendererClient::GetImageSerializationProcessor() {
return nullptr;
}
+std::unique_ptr<gfx::ICCProfile>
+ContentRendererClient::GetImageDecodeColorProfile() {
+ return nullptr;
+}
+
bool ContentRendererClient::ShouldReportDetailedMessageForSource(
const base::string16& source) const {
return false;

Powered by Google App Engine
This is Rietveld 408576698