Index: content/renderer/renderer_webkitplatformsupport_impl.cc |
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.cc b/content/renderer/renderer_webkitplatformsupport_impl.cc |
index 32a708655c01c73b0daf9f4ae3a617b0d896f12e..87158aa5dea7bf6aed2c0aa4c16baefe591f22ed 100644 |
--- a/content/renderer/renderer_webkitplatformsupport_impl.cc |
+++ b/content/renderer/renderer_webkitplatformsupport_impl.cc |
@@ -658,6 +658,19 @@ RendererWebKitPlatformSupportImpl::signedPublicKeyAndChallengeString( |
//------------------------------------------------------------------------------ |
+void RendererWebKitPlatformSupportImpl::screenColorProfile( |
+ const WebKit::WebString& type, |
+ WebVector<char>* to_profile) { |
+ std::vector<char> profile; |
+ gfx::NativeViewId view_id = 0; |
+ std::string type_str(type.utf8()); |
Noel Gordon
2012/06/21 16:58:33
nit: you could ditch this line ...
tpayne
2012/07/02 19:22:32
N/A
|
+ RenderThreadImpl::current()->Send(new ViewHostMsg_GetMonitorColorProfile( |
+ view_id, type_str, &profile)); |
Noel Gordon
2012/06/21 16:58:33
... and here just write
view_id, std::strin
tpayne
2012/07/02 19:22:32
N/A
|
+ *to_profile = profile; |
+} |
+ |
+//------------------------------------------------------------------------------ |
+ |
WebBlobRegistry* RendererWebKitPlatformSupportImpl::blobRegistry() { |
// ChildThread::current can be NULL when running some tests. |
if (!blob_registry_.get() && ChildThread::current()) { |