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

Unified Diff: third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp

Issue 2183323005: Make Resource::m_response private (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/core/fetch/ScriptResource.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp b/third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp
index 682b209c44414de9805d8c46ef2ecb5b8d29ffe0..24904b99484b3653ca9fe8ddbc335a06528daece 100644
--- a/third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp
@@ -77,7 +77,7 @@ void XSLStyleSheetResource::didAddClient(ResourceClient* c)
ASSERT(StyleSheetResourceClient::isExpectedType(c));
Resource::didAddClient(c);
if (!isLoading())
- static_cast<StyleSheetResourceClient*>(c)->setXSLStyleSheet(m_resourceRequest.url(), m_response.url(), m_sheet);
+ static_cast<StyleSheetResourceClient*>(c)->setXSLStyleSheet(m_resourceRequest.url(), response().url(), m_sheet);
}
void XSLStyleSheetResource::checkNotify()
@@ -87,7 +87,7 @@ void XSLStyleSheetResource::checkNotify()
ResourceClientWalker<StyleSheetResourceClient> w(clients());
while (StyleSheetResourceClient* c = w.next())
- c->setXSLStyleSheet(m_resourceRequest.url(), m_response.url(), m_sheet);
+ c->setXSLStyleSheet(m_resourceRequest.url(), response().url(), m_sheet);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ScriptResource.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698