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

Side by Side Diff: Source/core/html/FormAssociatedElement.cpp

Issue 22887044: [oilpan] Make the oilpan branch build on Mac. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Add FIXME. Created 7 years, 4 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/FormAssociatedElement.h ('k') | Source/core/html/HTMLProgressElement.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) 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) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual void idTargetChanged() OVERRIDE; 46 virtual void idTargetChanged() OVERRIDE;
47 47
48 private: 48 private:
49 FormAttributeTargetObserver(const AtomicString& id, const Handle<FormAssocia tedElement>&); 49 FormAttributeTargetObserver(const AtomicString& id, const Handle<FormAssocia tedElement>&);
50 50
51 // FIXME(oilpan): back pointer. 51 // FIXME(oilpan): back pointer.
52 FormAssociatedElement* m_element; 52 FormAssociatedElement* m_element;
53 }; 53 };
54 54
55 FormAssociatedElement::FormAssociatedElement() 55 FormAssociatedElement::FormAssociatedElement()
56 : m_form(0)
57 { 56 {
58 } 57 }
59 58
60 FormAssociatedElement::~FormAssociatedElement() 59 FormAssociatedElement::~FormAssociatedElement()
61 { 60 {
62 // m_formAttributeTargetObserver is only non-null when the 61 // m_formAttributeTargetObserver is only non-null when the
63 // FormAssociatedElement is in the document. If the FormAssociatedElement 62 // FormAssociatedElement is in the document. If the FormAssociatedElement
64 // is in the document it only dies if the TreeScope dies as well. Therefore 63 // is in the document it only dies if the TreeScope dies as well. Therefore
65 // the FormAttributeTargetObserver cannot and does not have to unregister 64 // the FormAttributeTargetObserver cannot and does not have to unregister
66 // itself from the registry in the TreeScope. 65 // itself from the registry in the TreeScope.
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 , m_element(element.raw()) 305 , m_element(element.raw())
307 { 306 {
308 } 307 }
309 308
310 void FormAttributeTargetObserver::idTargetChanged() 309 void FormAttributeTargetObserver::idTargetChanged()
311 { 310 {
312 m_element->formAttributeTargetChanged(); 311 m_element->formAttributeTargetChanged();
313 } 312 }
314 313
315 } // namespace Webcore 314 } // namespace Webcore
OLDNEW
« no previous file with comments | « Source/core/html/FormAssociatedElement.h ('k') | Source/core/html/HTMLProgressElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698