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

Unified Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp

Issue 2821303005: [selectors4] Use common ancestor strategy for :focus-within (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/html/HTMLPlugInElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
index 3665ea9f8012823b4c414f5cd681d9e21f9d00fc..672ba2eb06eb98f20c71b62c578f98c80d1aa4ee 100644
--- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp
@@ -155,10 +155,12 @@ void HTMLPlugInElement::SetPersistedPlugin(PluginView* plugin) {
persisted_plugin_ = plugin;
}
-void HTMLPlugInElement::SetFocused(bool focused, WebFocusType focus_type) {
+void HTMLPlugInElement::SetFocused(bool focused,
+ WebFocusType focus_type,
+ Node* common_ancestor) {
if (plugin_)
plugin_->SetFocused(focused, focus_type);
- HTMLFrameOwnerElement::SetFocused(focused, focus_type);
+ HTMLFrameOwnerElement::SetFocused(focused, focus_type, common_ancestor);
}
bool HTMLPlugInElement::RequestObjectInternal(

Powered by Google App Engine
This is Rietveld 408576698