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

Side by Side Diff: Source/core/events/ErrorEvent.cpp

Issue 189513012: DOMDataStore should be cleared when shutting down worker threads (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/events/ErrorEvent.h ('k') | Source/core/workers/WorkerMessagingProxy.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 : Event(type, initializer) 53 : Event(type, initializer)
54 , m_sanitizedMessage(initializer.message) 54 , m_sanitizedMessage(initializer.message)
55 , m_fileName(initializer.filename) 55 , m_fileName(initializer.filename)
56 , m_lineNumber(initializer.lineno) 56 , m_lineNumber(initializer.lineno)
57 , m_columnNumber(initializer.colno) 57 , m_columnNumber(initializer.colno)
58 , m_world(DOMWrapperWorld::current(v8::Isolate::GetCurrent())) 58 , m_world(DOMWrapperWorld::current(v8::Isolate::GetCurrent()))
59 { 59 {
60 ScriptWrappable::init(this); 60 ScriptWrappable::init(this);
61 } 61 }
62 62
63 ErrorEvent::ErrorEvent(const String& message, const String& fileName, unsigned l ineNumber, unsigned columnNumber, PassRefPtr<DOMWrapperWorld> world) 63 ErrorEvent::ErrorEvent(const String& message, const String& fileName, unsigned l ineNumber, unsigned columnNumber, DOMWrapperWorld* world)
64 : Event(EventTypeNames::error, false, true) 64 : Event(EventTypeNames::error, false, true)
65 , m_sanitizedMessage(message) 65 , m_sanitizedMessage(message)
66 , m_fileName(fileName) 66 , m_fileName(fileName)
67 , m_lineNumber(lineNumber) 67 , m_lineNumber(lineNumber)
68 , m_columnNumber(columnNumber) 68 , m_columnNumber(columnNumber)
69 , m_world(world) 69 , m_world(world)
70 { 70 {
71 ScriptWrappable::init(this); 71 ScriptWrappable::init(this);
72 } 72 }
73 73
(...skipping 11 matching lines...) Expand all
85 { 85 {
86 return EventNames::ErrorEvent; 86 return EventNames::ErrorEvent;
87 } 87 }
88 88
89 void ErrorEvent::trace(Visitor* visitor) 89 void ErrorEvent::trace(Visitor* visitor)
90 { 90 {
91 Event::trace(visitor); 91 Event::trace(visitor);
92 } 92 }
93 93
94 } // namespace WebCore 94 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/events/ErrorEvent.h ('k') | Source/core/workers/WorkerMessagingProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698