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

Unified Diff: Source/WebKit/chromium/src/WebCachedURLRequest.cpp

Issue 14672042: Prepare to add more initiator info to CachedResource(Request) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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
Index: Source/WebKit/chromium/src/WebCachedURLRequest.cpp
diff --git a/Source/WebKit/chromium/src/WebCachedURLRequest.cpp b/Source/WebKit/chromium/src/WebCachedURLRequest.cpp
index 1dbddbd4216e280be279c99ae642e511be03a8f6..98703b1cc1fdf1770661a8bce70090dc90ef002a 100644
--- a/Source/WebKit/chromium/src/WebCachedURLRequest.cpp
+++ b/Source/WebKit/chromium/src/WebCachedURLRequest.cpp
@@ -31,7 +31,6 @@
#include "config.h"
#include "WebCachedURLRequest.h"
-#include "core/dom/Element.h"
#include "core/loader/cache/CachedResourceRequest.h"
#include "core/platform/chromium/support/WrappedResourceRequest.h"
#include <public/WebURLRequest.h>
@@ -67,12 +66,7 @@ bool WebCachedURLRequest::forPreload() const
WebString WebCachedURLRequest::initiatorName() const
{
- return WebString(m_private->initiatorName());
-}
-
-WebElement WebCachedURLRequest::initiatorElement() const
-{
- return WebElement(m_private->initiatorElement());
+ return WebString(m_private->initiatorInfo().name);
}
WebCachedURLRequest::WebCachedURLRequest(CachedResourceRequest* request)

Powered by Google App Engine
This is Rietveld 408576698