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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.h

Issue 1438193002: Oilpan: move HTMLParserScheduler to the heap. (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 | « no previous file | 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 /* 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 void resume(); 97 void resume();
98 98
99 void detach(); // Clear active tasks if any. 99 void detach(); // Clear active tasks if any.
100 100
101 private: 101 private:
102 HTMLParserScheduler(HTMLDocumentParser*, WebTaskRunner*); 102 HTMLParserScheduler(HTMLDocumentParser*, WebTaskRunner*);
103 103
104 bool shouldYield(const SpeculationsPumpSession&, bool startingScript) const; 104 bool shouldYield(const SpeculationsPumpSession&, bool startingScript) const;
105 void continueParsing(); 105 void continueParsing();
106 106
107 HTMLDocumentParser* m_parser; 107 RawPtrWillBeUntracedMember<HTMLDocumentParser> m_parser;
haraken 2015/11/12 14:20:49 A better option would be to move HTMLParserSchedul
sof 2015/11/16 10:58:39 I think that's feasible, the CancellableTaskFactor
108 OwnPtr<WebTaskRunner> m_loadingTaskRunner; 108 OwnPtr<WebTaskRunner> m_loadingTaskRunner;
109 109
110 OwnPtr<CancellableTaskFactory> m_cancellableContinueParse; 110 OwnPtr<CancellableTaskFactory> m_cancellableContinueParse;
111 bool m_isSuspendedWithActiveTimer; 111 bool m_isSuspendedWithActiveTimer;
112 }; 112 };
113 113
114 } 114 }
115 115
116 #endif 116 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698