summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/ipc/JavaScriptShared.cpp2
-rw-r--r--js/ipc/JavaScriptShared.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/ipc/JavaScriptShared.cpp b/js/ipc/JavaScriptShared.cpp
index 050a72896..8c86e6fe8 100644
--- a/js/ipc/JavaScriptShared.cpp
+++ b/js/ipc/JavaScriptShared.cpp
@@ -68,7 +68,7 @@ IdToObjectMap::findPreserveColor(ObjectId id)
if (!p)
return nullptr;
return p->value().unbarrieredGet();
- }
+}
bool
IdToObjectMap::add(ObjectId id, JSObject* obj)
diff --git a/js/ipc/JavaScriptShared.h b/js/ipc/JavaScriptShared.h
index 5aff470cc..5ecec7429 100644
--- a/js/ipc/JavaScriptShared.h
+++ b/js/ipc/JavaScriptShared.h
@@ -96,7 +96,7 @@ class IdToObjectMap
bool add(ObjectId id, JSObject* obj);
JSObject* find(ObjectId id);
- JSObject* findPreserveColor(ObjectId id);
+ JSObject* findPreserveColor(ObjectId id);
void remove(ObjectId id);
void clear();