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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp

Issue 1444173002: third_party/WebKit: fix typos found in comments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 /** 1 /**
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de)
5 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. 5 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 updateWidgetInternal(); 217 updateWidgetInternal();
218 if (m_isDelayingLoadEvent) { 218 if (m_isDelayingLoadEvent) {
219 m_isDelayingLoadEvent = false; 219 m_isDelayingLoadEvent = false;
220 document().decrementLoadEventDelayCount(); 220 document().decrementLoadEventDelayCount();
221 } 221 }
222 } 222 }
223 223
224 void HTMLPlugInElement::removedFrom(ContainerNode* insertionPoint) 224 void HTMLPlugInElement::removedFrom(ContainerNode* insertionPoint)
225 { 225 {
226 // If we've persisted the plugin and we're removed from the tree then 226 // If we've persisted the plugin and we're removed from the tree then
227 // make sure we cleanup the persistance pointer. 227 // make sure we cleanup the persistence pointer.
228 if (m_persistedPluginWidget) { 228 if (m_persistedPluginWidget) {
229 HTMLFrameOwnerElement::UpdateSuspendScope suspendWidgetHierarchyUpdates; 229 HTMLFrameOwnerElement::UpdateSuspendScope suspendWidgetHierarchyUpdates;
230 setPersistedPluginWidget(nullptr); 230 setPersistedPluginWidget(nullptr);
231 } 231 }
232 HTMLFrameOwnerElement::removedFrom(insertionPoint); 232 HTMLFrameOwnerElement::removedFrom(insertionPoint);
233 } 233 }
234 234
235 void HTMLPlugInElement::requestPluginCreationWithoutLayoutObjectIfPossible() 235 void HTMLPlugInElement::requestPluginCreationWithoutLayoutObjectIfPossible()
236 { 236 {
237 if (m_serviceType.isEmpty()) 237 if (m_serviceType.isEmpty())
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 return openShadowRoot(); 661 return openShadowRoot();
662 } 662 }
663 663
664 void HTMLPlugInElement::lazyReattachIfNeeded() 664 void HTMLPlugInElement::lazyReattachIfNeeded()
665 { 665 {
666 if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && !isIma geType()) 666 if (!useFallbackContent() && needsWidgetUpdate() && layoutObject() && !isIma geType())
667 lazyReattachIfAttached(); 667 lazyReattachIfAttached();
668 } 668 }
669 669
670 } 670 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698