Index: chrome/test/chromedriver/element_util.cc |
diff --git a/chrome/test/chromedriver/element_util.cc b/chrome/test/chromedriver/element_util.cc |
index ca14b20eee4cae1c3b1e5b901423a1b09feee3ad..9fc2315841fae0d9d1206a87143c9fb9e9088e01 100644 |
--- a/chrome/test/chromedriver/element_util.cc |
+++ b/chrome/test/chromedriver/element_util.cc |
@@ -34,13 +34,6 @@ bool ParseFromValue(base::Value* value, WebPoint* point) { |
return true; |
} |
-base::Value* CreateValueFrom(const WebPoint& point) { |
- base::DictionaryValue* dict = new base::DictionaryValue(); |
- dict->SetInteger("x", point.x); |
- dict->SetInteger("y", point.y); |
- return dict; |
-} |
- |
bool ParseFromValue(base::Value* value, WebSize* size) { |
base::DictionaryValue* dict_value; |
if (!value->GetAsDictionary(&dict_value)) |
@@ -219,6 +212,13 @@ base::DictionaryValue* CreateElement(const std::string& element_id) { |
return element; |
} |
+base::Value* CreateValueFrom(const WebPoint& point) { |
+ base::DictionaryValue* dict = new base::DictionaryValue(); |
+ dict->SetInteger("x", point.x); |
+ dict->SetInteger("y", point.y); |
+ return dict; |
+} |
+ |
Status FindElement( |
int interval_ms, |
bool only_one, |