Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/Notification.cpp

Issue 5598762307158016: Issue 1550 - Get rid of V8ValueHolder.h (Closed)
Patch Set: fix JsValue destructor Created Jan. 22, 2016, 1:16 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« include/AdblockPlus/Notification.h ('K') | « src/JsValue.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/Notification.cpp
diff --git a/src/Notification.cpp b/src/Notification.cpp
index 89bd10e144379a7fa3503cb0fd57ca352c07eb89..da5ad0f004276d02c5e49929788e454041de2c1d 100644
--- a/src/Notification.cpp
+++ b/src/Notification.cpp
@@ -57,8 +57,8 @@ namespace
}
}
-Notification::Notification(const JsValuePtr& jsValue)
- : JsValue(jsValue)
+Notification::Notification(JsValue&& jsValue)
+ : JsValue(std::move(jsValue))
{
}
« include/AdblockPlus/Notification.h ('K') | « src/JsValue.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld