summaryrefslogtreecommitdiffstats
path: root/base/singleton_objc.h
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 21:50:54 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-30 21:50:54 +0000
commit6b213e6150c41a5ad958226dad42259fc4097b35 (patch)
tree932f364ed12a38c4d4d2b36c168c8b37ab68b3ff /base/singleton_objc.h
parent88908d6c5279e50382f835ffa159025025d7bc52 (diff)
downloadchromium_src-6b213e6150c41a5ad958226dad42259fc4097b35.zip
chromium_src-6b213e6150c41a5ad958226dad42259fc4097b35.tar.gz
chromium_src-6b213e6150c41a5ad958226dad42259fc4097b35.tar.bz2
Throw something at the wall. See what sticks.
This is an attempt to fix or defer WorkerPoolMac pool stoppage. 1. Catch Objective-C exceptions thrown in task bodies. 2. Make sure the queue isn't suspended when posting tasks. BUG=20471 TEST=none Review URL: http://codereview.chromium.org/1699029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46124 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/singleton_objc.h')
-rw-r--r--base/singleton_objc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/singleton_objc.h b/base/singleton_objc.h
index ba9fc78..3ba5f1e 100644
--- a/base/singleton_objc.h
+++ b/base/singleton_objc.h
@@ -23,7 +23,7 @@
// static Foo* New() {
// return [[Foo alloc] initWithName:@"selecty"];
// }
-// }
+// };
// ...
// Foo* widgetSingleton = SingletonObjC<Foo, FooSingletonTraits>::get();