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

Side by Side Diff: Source/core/dom/PendingScript.h

Issue 463543002: Oilpan: Ensure that classes with virtual trace methods always have vtables for their left-most base… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 Google, Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void setWatchingForLoad(bool b) { m_watchingForLoad = b; } 91 void setWatchingForLoad(bool b) { m_watchingForLoad = b; }
92 92
93 Element* element() const { return m_element.get(); } 93 Element* element() const { return m_element.get(); }
94 void setElement(Element* element) { m_element = element; } 94 void setElement(Element* element) { m_element = element; }
95 PassRefPtrWillBeRawPtr<Element> releaseElementAndClear(); 95 PassRefPtrWillBeRawPtr<Element> releaseElementAndClear();
96 96
97 void setScriptResource(ScriptResource*); 97 void setScriptResource(ScriptResource*);
98 98
99 virtual void notifyFinished(Resource*); 99 virtual void notifyFinished(Resource*);
100 100
101 void trace(Visitor*); 101 virtual void trace(Visitor*) OVERRIDE;
102 102
103 private: 103 private:
104 bool m_watchingForLoad; 104 bool m_watchingForLoad;
105 RefPtrWillBeMember<Element> m_element; 105 RefPtrWillBeMember<Element> m_element;
106 TextPosition m_startingPosition; // Only used for inline script tags. 106 TextPosition m_startingPosition; // Only used for inline script tags.
107 }; 107 };
108 108
109 } 109 }
110 110
111 #endif 111 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698