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

Unified Diff: Source/core/css/resolver/StyleAdjuster.h

Issue 440733002: Make adjustStyleForTagName take a HTMLElement parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 6 years 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
« no previous file with comments | « no previous file | Source/core/css/resolver/StyleAdjuster.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleAdjuster.h
diff --git a/Source/core/css/resolver/StyleAdjuster.h b/Source/core/css/resolver/StyleAdjuster.h
index 4d6056ab886c2697eec0e22c53cf8c3103c03531..d578ba2a9f730b9d0b20b902a50358588ed6b1d9 100644
--- a/Source/core/css/resolver/StyleAdjuster.h
+++ b/Source/core/css/resolver/StyleAdjuster.h
@@ -28,6 +28,7 @@ namespace blink {
class CachedUAStyle;
class Element;
+class HTMLElement;
class RenderStyle;
// Certain CSS Properties/Values do not apply to certain elements
@@ -45,7 +46,7 @@ public:
private:
void adjustStyleForFirstLetter(RenderStyle*);
void adjustStyleForDisplay(RenderStyle* styleToAdjust, RenderStyle* parentStyle);
- void adjustStyleForTagName(RenderStyle* styleToAdjust, RenderStyle* parentStyle, Element&);
+ void adjustStyleForHTMLElement(RenderStyle* styleToAdjust, RenderStyle* parentStyle, HTMLElement&);
void adjustOverflow(RenderStyle* styleToAdjust);
void adjustStyleForAlignment(RenderStyle& styleToAdjust, const RenderStyle& parentStyle);
« no previous file with comments | « no previous file | Source/core/css/resolver/StyleAdjuster.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698