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

Unified Diff: third_party/WebKit/WebCore/dom/Document.cpp

Issue 20076: WebKit merge 40500:40539 [WebKit side] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/WebCore/dom/Document.h ('k') | third_party/WebKit/WebCore/dom/GenericWorkerTask.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/WebCore/dom/Document.cpp
===================================================================
--- third_party/WebKit/WebCore/dom/Document.cpp (revision 9118)
+++ third_party/WebKit/WebCore/dom/Document.cpp (working copy)
@@ -4019,7 +4019,7 @@
Vector<String> Document::formElementsState() const
{
Vector<String> stateVector;
- stateVector.reserveCapacity(m_formElementsWithState.size() * 3);
+ stateVector.reserveInitialCapacity(m_formElementsWithState.size() * 3);
typedef ListHashSet<FormControlElementWithState*>::const_iterator Iterator;
Iterator end = m_formElementsWithState.end();
for (Iterator it = m_formElementsWithState.begin(); it != end; ++it) {
@@ -4418,22 +4418,6 @@
m_haveExplicitlyDisabledDNSPrefetch = true;
}
-void Document::addTimeout(int timeoutId, DOMTimer* timer)
-{
- ASSERT(!m_timeouts.contains(timeoutId));
- m_timeouts.set(timeoutId, timer);
-}
-
-void Document::removeTimeout(int timeoutId)
-{
- m_timeouts.remove(timeoutId);
-}
-
-DOMTimer* Document::findTimeout(int timeoutId)
-{
- return m_timeouts.get(timeoutId);
-}
-
void Document::reportException(const String& errorMessage, int lineNumber, const String& sourceURL)
{
if (DOMWindow* window = domWindow())
« no previous file with comments | « third_party/WebKit/WebCore/dom/Document.h ('k') | third_party/WebKit/WebCore/dom/GenericWorkerTask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698