| Index: Source/core/fetch/ScriptResource.cpp
|
| diff --git a/Source/core/fetch/ScriptResource.cpp b/Source/core/fetch/ScriptResource.cpp
|
| index 873ef3322722f711ff22d971252932b792fd5174..2724673c86ed5b77c9e4b788b8ad6aa2393ce6fd 100644
|
| --- a/Source/core/fetch/ScriptResource.cpp
|
| +++ b/Source/core/fetch/ScriptResource.cpp
|
| @@ -78,7 +78,7 @@ const String& ScriptResource::script()
|
| // That's because the MemoryCache thinks that it can clear out decoded data by calling destroyDecodedData(),
|
| // but we can't destroy script in destroyDecodedData because that's our only copy of the data!
|
| setEncodedSize(script.sizeInBytes());
|
| - m_script = script;
|
| + m_script = AtomicString(script);
|
| }
|
|
|
| return m_script.string();
|
|
|