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

Unified Diff: third_party/WebKit/Source/core/svg/animation/SMILTime.h

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: third_party/WebKit/Source/core/svg/animation/SMILTime.h
diff --git a/third_party/WebKit/Source/core/svg/animation/SMILTime.h b/third_party/WebKit/Source/core/svg/animation/SMILTime.h
index 6119d1878ed1f1b2a6667b3f9650f40487ddd226..78f8c2dc8776c054edeb63039bfe6d1a1741be91 100644
--- a/third_party/WebKit/Source/core/svg/animation/SMILTime.h
+++ b/third_party/WebKit/Source/core/svg/animation/SMILTime.h
@@ -34,7 +34,7 @@
namespace blink {
class SMILTime {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
SMILTime() : m_time(0) { }
SMILTime(double time) : m_time(time) { }
@@ -53,7 +53,7 @@ private:
};
class SMILTimeWithOrigin {
- ALLOW_ONLY_INLINE_ALLOCATION();
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
enum Origin {
ParserOrigin,
@@ -80,7 +80,7 @@ private:
};
struct SMILInterval {
- DISALLOW_ALLOCATION();
+ DISALLOW_NEW();
SMILInterval() { }
SMILInterval(const SMILTime& begin, const SMILTime& end) : begin(begin), end(end) { }

Powered by Google App Engine
This is Rietveld 408576698