Index: third_party/WebKit/Source/wtf/Functional.h |
diff --git a/third_party/WebKit/Source/wtf/Functional.h b/third_party/WebKit/Source/wtf/Functional.h |
index c19da9241f3bc2e1106c4728c21d022276d3eb30..8aa0a938b4c89222d325713df99b65a03465ee2b 100644 |
--- a/third_party/WebKit/Source/wtf/Functional.h |
+++ b/third_party/WebKit/Source/wtf/Functional.h |
@@ -159,7 +159,7 @@ public: |
} |
template <typename... IncomingParameters> |
- R operator()(PassOwnPtr<C> c, IncomingParameters&&... parameters) |
+ R operator()(const PassOwnPtr<C>& c, IncomingParameters&&... parameters) |
{ |
return (c.get()->*m_function)(std::forward<IncomingParameters>(parameters)...); |
} |