Index: components/dom_distiller/ios/distiller_page_ios.mm |
diff --git a/components/dom_distiller/ios/distiller_page_ios.mm b/components/dom_distiller/ios/distiller_page_ios.mm |
index b0e9a6e945108f239b36a468b5b93516b0f0f590..0009e5bdad0416ad2b6c4947d953dcad4f841c3a 100644 |
--- a/components/dom_distiller/ios/distiller_page_ios.mm |
+++ b/components/dom_distiller/ios/distiller_page_ios.mm |
@@ -6,6 +6,8 @@ |
#import <UIKit/UIKit.h> |
+#include <utility> |
+ |
#include "base/json/json_reader.h" |
#include "base/logging.h" |
#include "base/strings/sys_string_conversions.h" |
@@ -107,7 +109,7 @@ void DistillerPageIOS::HandleJavaScriptResultString(NSString* result) { |
base::JSONReader::Read(base::SysNSStringToUTF8(result)); |
if (dictionaryValue && |
dictionaryValue->IsType(base::Value::TYPE_DICTIONARY)) { |
- resultValue = dictionaryValue.Pass(); |
+ resultValue = std::move(dictionaryValue); |
} |
} |
OnDistillationDone(url_, resultValue.get()); |