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

Unified Diff: mojo/public/cpp/bindings/lib/shared_ptr.h

Issue 1755003002: Remove MOJO_DISALLOW_COPY_AND_ASSIGN and MOJO_ALLOW_UNUSED_LOCAL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 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
« no previous file with comments | « mojo/public/cpp/bindings/lib/shared_data.h ('k') | mojo/public/cpp/bindings/lib/validate_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/lib/shared_ptr.h
diff --git a/mojo/public/cpp/bindings/lib/shared_ptr.h b/mojo/public/cpp/bindings/lib/shared_ptr.h
index 37c87353364678e0310e138c9770055398811c7e..0855b2e7f0128f3b65bd9906d7afeb884a546a1b 100644
--- a/mojo/public/cpp/bindings/lib/shared_ptr.h
+++ b/mojo/public/cpp/bindings/lib/shared_ptr.h
@@ -5,6 +5,7 @@
#ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_SHARED_PTR_H_
#define MOJO_PUBLIC_CPP_BINDINGS_LIB_SHARED_PTR_H_
+#include "base/macros.h"
#include "mojo/public/cpp/bindings/lib/shared_data.h"
namespace mojo {
@@ -45,7 +46,7 @@ class SharedPtr {
P* ptr;
private:
- MOJO_DISALLOW_COPY_AND_ASSIGN(Impl);
+ DISALLOW_COPY_AND_ASSIGN(Impl);
};
SharedData<Impl> impl_;
« no previous file with comments | « mojo/public/cpp/bindings/lib/shared_data.h ('k') | mojo/public/cpp/bindings/lib/validate_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698