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

Side by Side Diff: Source/core/css/CSSImageGeneratorValue.h

Issue 1278983003: Adding allocator annotations to blink classes and structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed patch conflict Created 5 years, 4 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 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 SizeAndCount(IntSize newSize = IntSize(), int newCount = 0) 43 SizeAndCount(IntSize newSize = IntSize(), int newCount = 0)
43 : size(newSize) 44 : size(newSize)
44 , count(newCount) 45 , count(newCount)
45 { 46 {
46 } 47 }
47 48
48 IntSize size; 49 IntSize size;
49 int count; 50 int count;
50 }; 51 };
51 52
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // there are clients in the LayoutObjectSizeCountMap. 87 // there are clients in the LayoutObjectSizeCountMap.
87 SelfKeepAlive<CSSImageGeneratorValue> m_keepAlive; 88 SelfKeepAlive<CSSImageGeneratorValue> m_keepAlive;
88 #endif 89 #endif
89 }; 90 };
90 91
91 DEFINE_CSS_VALUE_TYPE_CASTS(CSSImageGeneratorValue, isImageGeneratorValue()); 92 DEFINE_CSS_VALUE_TYPE_CASTS(CSSImageGeneratorValue, isImageGeneratorValue());
92 93
93 } // namespace blink 94 } // namespace blink
94 95
95 #endif // CSSImageGeneratorValue_h 96 #endif // CSSImageGeneratorValue_h
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/modules/V8TestInterfacePartial.h ('k') | Source/core/css/SelectorChecker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698