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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutImage.h

Issue 2727853002: [css-display] Support display: contents pseudo-elements.
Patch Set: Add missing nullcheck (whoops). Created 3 years, 9 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/layout/LayoutImage.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutImage.h b/third_party/WebKit/Source/core/layout/LayoutImage.h
index bc63b2f667c5acd2efb25c764d50cb1349c25528..ec3ae9abc6b84f0c2f3ae70b3e60ee028dee9e7b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutImage.h
+++ b/third_party/WebKit/Source/core/layout/LayoutImage.h
@@ -35,6 +35,7 @@ namespace blink {
class HTMLAreaElement;
class HTMLMapElement;
+class PseudoElement;
// LayoutImage is used to display any image type.
//
@@ -54,7 +55,7 @@ class CORE_EXPORT LayoutImage : public LayoutReplaced {
LayoutImage(Element*);
~LayoutImage() override;
- static LayoutImage* createAnonymous(Document*);
+ static LayoutImage* createAnonymous(PseudoElement&);
void setImageResource(LayoutImageResource*);

Powered by Google App Engine
This is Rietveld 408576698