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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp

Issue 2797253005: Revert of [instrumentation] Turn inspector override "probes" return values into output parameters. (Closed)
Patch Set: Created 3 years, 8 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/css/resolver/StyleResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
index 8f72767082c393ca56cb3454077c5815327529d3..8367155174afee758de04aed6bdefb5f0bc70529 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
@@ -707,9 +707,8 @@
state.style()->setIsLink();
EInsideLink linkState = state.elementLinkState();
if (linkState != EInsideLink::kNotInsideLink) {
- bool forceVisited = false;
- probe::forcePseudoState(element, CSSSelector::PseudoVisited,
- &forceVisited);
+ bool forceVisited =
+ probe::forcePseudoState(element, CSSSelector::PseudoVisited);
if (forceVisited)
linkState = EInsideLink::kInsideVisitedLink;
}
« no previous file with comments | « third_party/WebKit/Source/core/css/SelectorChecker.cpp ('k') | third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698