Commit 57bf9d7391114ad7bc532eaa1dec70b1127f5b55
- Diff rendering mode:
- inline
- side by side
core/scripting/ds485scriptextension.cpp
(1 / 0)
|   | |||
| 81 | 81 | void waitForFrame(boost::shared_ptr<FrameBucketCollector> _bucket, boost::shared_ptr<ScriptObject> _callbackObject, jsval _function, int _timeout, boost::shared_ptr<ScriptFunctionRooter> _rootedFunction) { | |
| 82 | 82 | bool goOn = true; | |
| 83 | 83 | JSContext* cx = getContext()->getJSContext(); | |
| 84 | boost::shared_ptr<ScriptContextAttachedObject> preventContextDestruction(new ScriptContextAttachedObject(getContext())); | ||
| 84 | 85 | do { | |
| 85 | 86 | bool hasFrame = _bucket->waitForFrame(_timeout); | |
| 86 | 87 | try { |

