Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: mojo/public/cpp/bindings/tests/pickled_struct_blink.h

Issue 1832703002: Mojo: Simplify typemap usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-bindings-variant-import
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/cpp/bindings/tests/pickled_struct_blink.h
diff --git a/mojo/public/cpp/bindings/tests/pickled_struct_blink.h b/mojo/public/cpp/bindings/tests/pickled_struct_blink.h
index ce5b3644d334bef1f0bea017e2a8393ebee91ea0..c763c6e94e7c511f723637ce4deb693811babc65 100644
--- a/mojo/public/cpp/bindings/tests/pickled_struct_blink.h
+++ b/mojo/public/cpp/bindings/tests/pickled_struct_blink.h
@@ -32,8 +32,11 @@ class PickledStructBlink {
public:
PickledStructBlink();
PickledStructBlink(int foo, int bar);
+ PickledStructBlink(PickledStructBlink&& other) = default;
~PickledStructBlink();
+ PickledStructBlink& operator=(PickledStructBlink&& other) = default;
+
int foo() const { return foo_; }
void set_foo(int foo) {
DCHECK_GE(foo, 0);

Powered by Google App Engine
This is Rietveld 408576698