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

Side by Side Diff: third_party/WebKit/Source/core/dom/DocumentParser.cpp

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void DocumentParser::detach() { 78 void DocumentParser::detach() {
79 m_state = DetachedState; 79 m_state = DetachedState;
80 m_document = nullptr; 80 m_document = nullptr;
81 } 81 }
82 82
83 void DocumentParser::suspendScheduledTasks() {} 83 void DocumentParser::suspendScheduledTasks() {}
84 84
85 void DocumentParser::resumeScheduledTasks() {} 85 void DocumentParser::resumeScheduledTasks() {}
86 86
87 void DocumentParser::addClient(DocumentParserClient* client) { 87 void DocumentParser::addClient(DocumentParserClient* client) {
88 m_clients.add(client); 88 m_clients.insert(client);
89 } 89 }
90 90
91 void DocumentParser::removeClient(DocumentParserClient* client) { 91 void DocumentParser::removeClient(DocumentParserClient* client) {
92 m_clients.remove(client); 92 m_clients.remove(client);
93 } 93 }
94 94
95 } // namespace blink 95 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/DocumentStyleSheetCollector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698