summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/html/canvas/WebKitLoseContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/canvas/WebKitLoseContext.h')
-rw-r--r--Source/WebCore/html/canvas/WebKitLoseContext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/html/canvas/WebKitLoseContext.h b/Source/WebCore/html/canvas/WebKitLoseContext.h
index b713bef..5822e54 100644
--- a/Source/WebCore/html/canvas/WebKitLoseContext.h
+++ b/Source/WebCore/html/canvas/WebKitLoseContext.h
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2010 Google Inc. All rights reserved.
+ * Copyright (C) 2012 Sony Ericsson Mobile Communications AB
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -42,6 +43,7 @@ public:
virtual ExtensionName getName() const;
void loseContext();
+ void restoreContext();
void contextDestroyed() { m_context = 0; }
private: