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

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

Issue 2110003002: Improve performance of HTMLSelectElement::resetToDefaultSelection(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/core/html/HTMLSelectElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElement.h b/third_party/WebKit/Source/core/html/HTMLSelectElement.h
index b40b12eaab56ae333d8adb19a631369f88ab7f7f..e0baa57543f7cb602647507bdf9a471dad9a7395 100644
--- a/third_party/WebKit/Source/core/html/HTMLSelectElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.h
@@ -214,8 +214,8 @@ private:
MakeOptionDirty = 1 << 2,
};
typedef unsigned SelectOptionFlags;
- void selectOption(int optionIndex, SelectOptionFlags = 0);
- void selectOption(HTMLOptionElement*, SelectOptionFlags = 0);
+ void selectOption(int optionIndex, SelectOptionFlags);
+ void selectOption(HTMLOptionElement*, SelectOptionFlags);
void selectOption(HTMLOptionElement*, int optionIndex, SelectOptionFlags);
void deselectItemsWithoutValidation(HTMLElement* elementToExclude = 0);
void parseMultipleAttribute(const AtomicString&);

Powered by Google App Engine
This is Rietveld 408576698