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

Unified Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 339133004: Removed the frame parameter from didChangeBrandColor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address comment Created 6 years, 6 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 | « no previous file | Source/web/tests/WebFrameTest.cpp » ('j') | public/web/WebFrameClient.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/FrameLoaderClientImpl.cpp
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
index d3039f99bc06a58b3ebb82c351da83002c21677c..70a2c09720ecd978c4a60c96eb5d2ad1c6391343 100644
--- a/Source/web/FrameLoaderClientImpl.cpp
+++ b/Source/web/FrameLoaderClientImpl.cpp
@@ -452,8 +452,8 @@ void FrameLoaderClientImpl::dispatchDidFirstVisuallyNonEmptyLayout()
void FrameLoaderClientImpl::dispatchDidChangeBrandColor()
{
- if (m_webFrame->client())
- m_webFrame->client()->didChangeBrandColor(m_webFrame);
+ if (m_webFrame->client() && !m_webFrame->parent())
+ m_webFrame->client()->didChangeBrandColor();
abarth-chromium 2014/06/17 21:52:48 This change isn't correct. You're welcome to igno
}
NavigationPolicy FrameLoaderClientImpl::decidePolicyForNavigation(const ResourceRequest& request, DocumentLoader* loader, NavigationPolicy policy)
« no previous file with comments | « no previous file | Source/web/tests/WebFrameTest.cpp » ('j') | public/web/WebFrameClient.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698