Index: chrome/test/automation/tab_proxy.cc |
diff --git a/chrome/test/automation/tab_proxy.cc b/chrome/test/automation/tab_proxy.cc |
index f17a35de2ce20db36a95c5e33415e29b360d5f25..07a34880a8be5b8233585f5452fd8d6260431506 100644 |
--- a/chrome/test/automation/tab_proxy.cc |
+++ b/chrome/test/automation/tab_proxy.cc |
@@ -555,10 +555,10 @@ bool TabProxy::ExecuteAndExtractValue(const std::wstring& frame_xpath, |
json.append("]"); |
JSONStringValueSerializer deserializer(json); |
- succeeded = deserializer.Deserialize(value, NULL); |
+ *value = deserializer.Deserialize(NULL); |
delete response; |
- return succeeded; |
+ return *value != NULL; |
} |
bool TabProxy::GetConstrainedWindowCount(int* count) const { |