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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSImageGeneratorValue.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, 1 month 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 21 matching lines...) Expand all
32 #include "wtf/HashCountedSet.h" 32 #include "wtf/HashCountedSet.h"
33 #include "wtf/RefPtr.h" 33 #include "wtf/RefPtr.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 class Document; 37 class Document;
38 class Image; 38 class Image;
39 class LayoutObject; 39 class LayoutObject;
40 40
41 struct SizeAndCount { 41 struct SizeAndCount {
42 DISALLOW_ALLOCATION(); 42 DISALLOW_NEW();
43 SizeAndCount(IntSize newSize = IntSize(), int newCount = 0) 43 SizeAndCount(IntSize newSize = IntSize(), int newCount = 0)
44 : size(newSize) 44 : size(newSize)
45 , count(newCount) 45 , count(newCount)
46 { 46 {
47 } 47 }
48 48
49 IntSize size; 49 IntSize size;
50 int count; 50 int count;
51 }; 51 };
52 52
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // there are clients in the LayoutObjectSizeCountMap. 89 // there are clients in the LayoutObjectSizeCountMap.
90 SelfKeepAlive<CSSImageGeneratorValue> m_keepAlive; 90 SelfKeepAlive<CSSImageGeneratorValue> m_keepAlive;
91 #endif 91 #endif
92 }; 92 };
93 93
94 DEFINE_CSS_VALUE_TYPE_CASTS(CSSImageGeneratorValue, isImageGeneratorValue()); 94 DEFINE_CSS_VALUE_TYPE_CASTS(CSSImageGeneratorValue, isImageGeneratorValue());
95 95
96 } // namespace blink 96 } // namespace blink
97 97
98 #endif // CSSImageGeneratorValue_h 98 #endif // CSSImageGeneratorValue_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSGradientValue.h ('k') | third_party/WebKit/Source/core/css/CSSImageSetValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698