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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2786673002: Separate ContentSettingsClient out from LocalFrameClient (Closed)
Patch Set: added class-level comment Created 3 years, 8 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 | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index f7f77643884e4b780b375c28ff0c21c8c5d95973..0388a66c1224701adb6aa8ad5b8fad176fb24cc9 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -570,8 +570,8 @@ WebVector<WebIconURL> WebLocalFrameImpl::iconURLs(int iconTypesMask) const {
}
void WebLocalFrameImpl::setContentSettingsClient(
- WebContentSettingsClient* contentSettingsClient) {
- m_contentSettingsClient = contentSettingsClient;
+ WebContentSettingsClient* client) {
+ m_contentSettingsClient.setClient(client);
}
void WebLocalFrameImpl::setSharedWorkerRepositoryClient(
@@ -1563,7 +1563,6 @@ WebLocalFrameImpl::WebLocalFrameImpl(
m_frameWidget(0),
m_client(client),
m_autofillClient(0),
- m_contentSettingsClient(0),
m_inputEventsScaleFactorForEmulation(1),
m_interfaceProvider(interfaceProvider),
m_interfaceRegistry(interfaceRegistry),
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698