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

Side by Side Diff: Source/core/html/forms/FormController.cpp

Issue 398793002: Oilpan: Remove support for tracing of off-heap ListHashSets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix number in test. Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/canvas/HitRegion.cpp ('k') | Source/platform/heap/HeapTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2008, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 379
380 PassRefPtrWillBeRawPtr<DocumentState> DocumentState::create() 380 PassRefPtrWillBeRawPtr<DocumentState> DocumentState::create()
381 { 381 {
382 return adoptRefWillBeNoop(new DocumentState); 382 return adoptRefWillBeNoop(new DocumentState);
383 } 383 }
384 384
385 DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DocumentState) 385 DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(DocumentState)
386 386
387 void DocumentState::trace(Visitor* visitor) 387 void DocumentState::trace(Visitor* visitor)
388 { 388 {
389 #if ENABLE(OILPAN)
389 visitor->trace(m_formControls); 390 visitor->trace(m_formControls);
391 #endif
390 } 392 }
391 393
392 void DocumentState::addControl(HTMLFormControlElementWithState* control) 394 void DocumentState::addControl(HTMLFormControlElementWithState* control)
393 { 395 {
394 ASSERT(!m_formControls.contains(control)); 396 ASSERT(!m_formControls.contains(control));
395 m_formControls.add(control); 397 m_formControls.add(control);
396 } 398 }
397 399
398 void DocumentState::removeControl(HTMLFormControlElementWithState* control) 400 void DocumentState::removeControl(HTMLFormControlElementWithState* control)
399 { 401 {
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 { 555 {
554 m_documentState->addControl(&control); 556 m_documentState->addControl(&control);
555 } 557 }
556 558
557 void FormController::unregisterStatefulFormControl(HTMLFormControlElementWithSta te& control) 559 void FormController::unregisterStatefulFormControl(HTMLFormControlElementWithSta te& control)
558 { 560 {
559 m_documentState->removeControl(&control); 561 m_documentState->removeControl(&control);
560 } 562 }
561 563
562 } // namespace WebCore 564 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/canvas/HitRegion.cpp ('k') | Source/platform/heap/HeapTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698