Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
index 51e311d30217cd72e6429c1d5349f38924243d84..35959ac9041fdaef84d96c80e395b097e183a23d 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp |
@@ -585,7 +585,7 @@ static void createContextProviderOnMainThread( |
ASSERT(isMainThread()); |
creationInfo->createdContextProvider = WTF::wrapUnique( |
Platform::current()->createOffscreenGraphicsContext3DProvider( |
- creationInfo->contextAttributes, creationInfo->url, 0, |
+ creationInfo->contextAttributes, creationInfo->url.copy(), 0, |
creationInfo->glInfo)); |
waitableEvent->signal(); |
} |