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

Unified Diff: Source/core/frame/Location.cpp

Issue 966843002: Mark DOMStringList.contains() as deprecated, add console warning. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add more detailed use counters Created 5 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
Index: Source/core/frame/Location.cpp
diff --git a/Source/core/frame/Location.cpp b/Source/core/frame/Location.cpp
index b3da88c61d3118973cbf4eb701d81a56197105e9..e0922ef92ef2dfbaca7008e65bd3354ea743e91d 100644
--- a/Source/core/frame/Location.cpp
+++ b/Source/core/frame/Location.cpp
@@ -120,7 +120,7 @@ String Location::origin() const
PassRefPtrWillBeRawPtr<DOMStringList> Location::ancestorOrigins() const
{
- RefPtrWillBeRawPtr<DOMStringList> origins = DOMStringList::create();
+ RefPtrWillBeRawPtr<DOMStringList> origins = DOMStringList::create(DOMStringList::Location);
if (!m_frame)
return origins.release();
for (Frame* frame = m_frame->tree().parent(); frame; frame = frame->tree().parent())

Powered by Google App Engine
This is Rietveld 408576698