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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCollection.h

Issue 2927233003: Don't move raw pointers in HTMLCollection.h (Closed)
Patch Set: Created 3 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 | 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/html/HTMLCollection.h
diff --git a/third_party/WebKit/Source/core/html/HTMLCollection.h b/third_party/WebKit/Source/core/html/HTMLCollection.h
index 7b435fe61f923e97d26f027f86fce0bdab86241f..ba31447a5b0e7753203012fbe658af44c45d7603 100644
--- a/third_party/WebKit/Source/core/html/HTMLCollection.h
+++ b/third_party/WebKit/Source/core/html/HTMLCollection.h
@@ -180,7 +180,7 @@ class CORE_EXPORT HTMLCollection
// Do not repeat registration for the same invalidation type.
if (InvalidationType() != kInvalidateOnIdNameAttrChange)
GetDocument().RegisterNodeListWithIdNameCache(this);
- named_item_cache_ = std::move(cache);
+ named_item_cache_ = cache;
}
NamedItemCache& GetNamedItemCache() const {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698