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..7467e996d672983107215b52bc4b97ba999022b2 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>* toProfile) { |
jam
2012/06/20 16:21:21
nit: to_profile
tpayne
2012/06/20 16:39:03
Done.
|
+ std::vector<char> profile; |
+ gfx::NativeViewId view_id = 0; |
+ std::string type_str(type.utf8()); |
+ RenderThreadImpl::current()->Send(new ViewHostMsg_GetMonitorColorProfile( |
+ view_id, type_str, &profile)); |
+ *toProfile = profile; |
+} |
+ |
+//------------------------------------------------------------------------------ |
+ |
WebBlobRegistry* RendererWebKitPlatformSupportImpl::blobRegistry() { |
// ChildThread::current can be NULL when running some tests. |
if (!blob_registry_.get() && ChildThread::current()) { |