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

Side by Side Diff: third_party/WebKit/Source/web/PopupMenuImpl.cpp

Issue 1434093003: Oilpan: add missing tracing of PopupMenuImpl::m_chromeClient. (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
« no previous file with comments | « third_party/WebKit/Source/web/PopupMenuImpl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "web/PopupMenuImpl.h" 6 #include "web/PopupMenuImpl.h"
7 7
8 #include "core/HTMLNames.h" 8 #include "core/HTMLNames.h"
9 #include "core/css/CSSFontSelector.h" 9 #include "core/css/CSSFontSelector.h"
10 #include "core/dom/ElementTraversal.h" 10 #include "core/dom/ElementTraversal.h"
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 { 247 {
248 } 248 }
249 249
250 PopupMenuImpl::~PopupMenuImpl() 250 PopupMenuImpl::~PopupMenuImpl()
251 { 251 {
252 ASSERT(!m_popup); 252 ASSERT(!m_popup);
253 } 253 }
254 254
255 DEFINE_TRACE(PopupMenuImpl) 255 DEFINE_TRACE(PopupMenuImpl)
256 { 256 {
257 visitor->trace(m_chromeClient);
257 visitor->trace(m_ownerElement); 258 visitor->trace(m_ownerElement);
258 PopupMenu::trace(visitor); 259 PopupMenu::trace(visitor);
259 } 260 }
260 261
261 IntSize PopupMenuImpl::contentSize() 262 IntSize PopupMenuImpl::contentSize()
262 { 263 {
263 return IntSize(); 264 return IntSize();
264 } 265 }
265 266
266 void PopupMenuImpl::writeDocument(SharedBuffer* data) 267 void PopupMenuImpl::writeDocument(SharedBuffer* data)
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 522
522 void PopupMenuImpl::disconnectClient() 523 void PopupMenuImpl::disconnectClient()
523 { 524 {
524 m_ownerElement = nullptr; 525 m_ownerElement = nullptr;
525 // Cannot be done during finalization, so instead done when the 526 // Cannot be done during finalization, so instead done when the
526 // layout object is destroyed and disconnected. 527 // layout object is destroyed and disconnected.
527 dispose(); 528 dispose();
528 } 529 }
529 530
530 } // namespace blink 531 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/PopupMenuImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698