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

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

Issue 1306283006: BackgroundImage incorrectly returns empty url() when created on-the-fly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Change StyleFetchedImage Created 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 bool isPending() const; 58 bool isPending() const;
59 bool knownToBeOpaque(const LayoutObject*) const; 59 bool knownToBeOpaque(const LayoutObject*) const;
60 60
61 void loadSubimages(Document*); 61 void loadSubimages(Document*);
62 62
63 bool hasFailedOrCanceledSubresources() const; 63 bool hasFailedOrCanceledSubresources() const;
64 64
65 bool equals(const CSSCrossfadeValue&) const; 65 bool equals(const CSSCrossfadeValue&) const;
66 66
67 PassRefPtrWillBeRawPtr<CSSCrossfadeValue> valueWithURLMadeAbsolute();
Timothy Loh 2015/09/22 05:53:27 URL -> URLs in all of these except CSSImageValue
nainar 2015/09/22 06:14:16 Done.
68
67 // Promptly remove as a ImageResource client. 69 // Promptly remove as a ImageResource client.
68 EAGERLY_FINALIZE(); 70 EAGERLY_FINALIZE();
69 #if ENABLE(OILPAN) 71 #if ENABLE(OILPAN)
70 DECLARE_EAGER_FINALIZATION_OPERATOR_NEW(); 72 DECLARE_EAGER_FINALIZATION_OPERATOR_NEW();
71 #endif 73 #endif
72 DECLARE_TRACE_AFTER_DISPATCH(); 74 DECLARE_TRACE_AFTER_DISPATCH();
73 75
74 private: 76 private:
75 CSSCrossfadeValue(PassRefPtrWillBeRawPtr<CSSValue> fromValue, PassRefPtrWill BeRawPtr<CSSValue> toValue, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> percentage Value) 77 CSSCrossfadeValue(PassRefPtrWillBeRawPtr<CSSValue> fromValue, PassRefPtrWill BeRawPtr<CSSValue> toValue, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> percentage Value)
76 : CSSImageGeneratorValue(CrossfadeClass) 78 : CSSImageGeneratorValue(CrossfadeClass)
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 RefPtr<Image> m_generatedImage; 115 RefPtr<Image> m_generatedImage;
114 116
115 CrossfadeSubimageObserverProxy m_crossfadeSubimageObserver; 117 CrossfadeSubimageObserverProxy m_crossfadeSubimageObserver;
116 }; 118 };
117 119
118 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCrossfadeValue, isCrossfadeValue()); 120 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCrossfadeValue, isCrossfadeValue());
119 121
120 } // namespace blink 122 } // namespace blink
121 123
122 #endif // CSSCrossfadeValue_h 124 #endif // CSSCrossfadeValue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698