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

Unified Diff: core/fxcrt/cfx_retain_ptr.h

Issue 2382723003: Move core/fxcrt/include to core/fxcrt (Closed)
Patch Set: Rebase to master Created 4 years, 3 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 | « core/fxcrt/cfx_observable_unittest.cpp ('k') | core/fxcrt/cfx_retain_ptr_unittest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcrt/cfx_retain_ptr.h
diff --git a/core/fxcrt/include/cfx_retain_ptr.h b/core/fxcrt/cfx_retain_ptr.h
similarity index 82%
rename from core/fxcrt/include/cfx_retain_ptr.h
rename to core/fxcrt/cfx_retain_ptr.h
index e40feb6b31c765ad56a0fc31495991364f9b0daa..883494e7eceb432b4fc2eeeb3cc94260e2c2496d 100644
--- a/core/fxcrt/include/cfx_retain_ptr.h
+++ b/core/fxcrt/cfx_retain_ptr.h
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CORE_FXCRT_INCLUDE_CFX_RETAIN_PTR_H_
-#define CORE_FXCRT_INCLUDE_CFX_RETAIN_PTR_H_
+#ifndef CORE_FXCRT_CFX_RETAIN_PTR_H_
+#define CORE_FXCRT_CFX_RETAIN_PTR_H_
#include <memory>
-#include "core/fxcrt/include/fx_memory.h"
+#include "core/fxcrt/fx_memory.h"
template <class T>
class CFX_RetainPtr {
@@ -22,8 +22,7 @@ class CFX_RetainPtr {
CFX_RetainPtr(CFX_RetainPtr&& that) { Swap(that); }
template <class U>
- CFX_RetainPtr(const CFX_RetainPtr<U>& that)
- : CFX_RetainPtr(that.Get()) {}
+ CFX_RetainPtr(const CFX_RetainPtr<U>& that) : CFX_RetainPtr(that.Get()) {}
void Reset(T* obj = nullptr) {
if (obj)
@@ -54,4 +53,4 @@ class CFX_RetainPtr {
std::unique_ptr<T, ReleaseDeleter<T>> m_pObj;
};
-#endif // CORE_FXCRT_INCLUDE_CFX_RETAIN_PTR_H_
+#endif // CORE_FXCRT_CFX_RETAIN_PTR_H_
« no previous file with comments | « core/fxcrt/cfx_observable_unittest.cpp ('k') | core/fxcrt/cfx_retain_ptr_unittest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698