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

Unified Diff: third_party/WebKit/Source/core/layout/api/LayoutItem.h

Issue 2768053003: Get rid of ownStyle in LayoutObject::getUncachedPseudoStyle. (Closed)
Patch Set: 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/api/LayoutItem.h
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutItem.h b/third_party/WebKit/Source/core/layout/api/LayoutItem.h
index 3435328917b860c3392de80c08c458a1e6d45d3e..5d7878d0c661f98020b69983e25ef4c4b1f674b8 100644
--- a/third_party/WebKit/Source/core/layout/api/LayoutItem.h
+++ b/third_party/WebKit/Source/core/layout/api/LayoutItem.h
@@ -229,10 +229,9 @@ class LayoutItem {
PassRefPtr<ComputedStyle> getUncachedPseudoStyle(
const PseudoStyleRequest& pseudoStyleRequest,
- const ComputedStyle* parentStyle = nullptr,
- const ComputedStyle* ownStyle = nullptr) const {
+ const ComputedStyle* parentStyle = nullptr) const {
return m_layoutObject->getUncachedPseudoStyle(pseudoStyleRequest,
- parentStyle, ownStyle);
+ parentStyle);
}
protected:

Powered by Google App Engine
This is Rietveld 408576698