Index: Source/platform/graphics/GraphicsContextState.cpp |
diff --git a/Source/platform/graphics/GraphicsContextState.cpp b/Source/platform/graphics/GraphicsContextState.cpp |
index 6ec377303f990cee13539c4002cf11c00ae85a2e..2084636f46e1684146fbb0a53dfc97447c05ee02 100644 |
--- a/Source/platform/graphics/GraphicsContextState.cpp |
+++ b/Source/platform/graphics/GraphicsContextState.cpp |
@@ -59,6 +59,7 @@ GraphicsContextState::GraphicsContextState(const GraphicsContextState& other) |
void GraphicsContextState::copy(const GraphicsContextState& source) |
{ |
+ this->~GraphicsContextState(); |
jbroman
2014/06/12 13:43:07
Wouldn't it be more straightforward to just make t
Dominik Grewe
2014/06/12 13:50:19
We mainly did this to avoid code duplication. But
|
new (this) GraphicsContextState(source); |
} |