Index: extensions/browser/script_executor.cc |
diff --git a/extensions/browser/script_executor.cc b/extensions/browser/script_executor.cc |
index 230bca3b3f885b2dae5fcfd6731d4402141536af..28d5a773c4592017d4dbb8fb5a00ba152514ce3e 100644 |
--- a/extensions/browser/script_executor.cc |
+++ b/extensions/browser/script_executor.cc |
@@ -143,7 +143,7 @@ class Handler : public content::WebContentsObserver { |
if (is_root_frame && !results_.empty()) |
CHECK(results_.Insert(0u, script_value->DeepCopy())); |
else |
- results_.Append(script_value->DeepCopy()); |
+ results_.Append(script_value->CreateDeepCopy()); |
} |
if (is_root_frame) { // Only use the root frame's error and url. |