Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index 2a8697dc69ab9488f7b946b31dd3a0c26e2be520..651fb49a4560eec2dc337250d8d5eac209844c6d 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -2205,6 +2205,15 @@ void RenderFrameImpl::didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame) { |
render_view_->didUpdateCurrentHistoryItem(frame); |
} |
+void RenderFrameImpl::didChangeBrandColor(blink::WebLocalFrame* frame) { |
+ DCHECK(!frame_ || frame_ == frame); |
dcheng
2014/06/16 17:21:25
Can frame_ ever be NULL here?
michaelbai
2014/06/16 17:49:22
I don't know, but there is same code in the class,
dcheng
2014/06/16 18:52:19
Right, but things like that get called on the init
jam
2014/06/16 20:00:45
this isn't necessary. also, the WebFrameClient met
michaelbai
2014/06/16 21:09:37
Removed DCHECK().
hmm, as the |frame| parameter,
michaelbai
2014/06/16 21:09:37
Done.
dcheng
2014/06/16 21:16:54
That's all legacy code. Since WebFrame has a 1:1 r
|
+ if (frame->parent()) |
dcheng
2014/06/16 17:21:25
Is there a design doc for this? I take it that we
michaelbai
2014/06/16 17:49:23
Feature description is in the linked bug.
I think
jam
2014/06/16 20:00:45
If blink is checking this (which I agree makes sen
michaelbai
2014/06/16 21:09:37
Currently blink isn't checking this, I will move i
jam
2014/06/18 00:36:43
since per abarth's comments he wants this to be in
michaelbai
2014/06/18 03:40:12
Done.
|
+ return; |
+ |
+ Send(new FrameHostMsg_DidChangeBrandColor( |
+ routing_id_, frame->document().brandColor())); |
+} |
+ |
blink::WebNotificationPresenter* RenderFrameImpl::notificationPresenter() { |
return notification_provider_; |
} |