[Extensions Cleanup] Remove unused v8_helpers method

One of the variants of GetPropertyUnsafe() was unused. Remove it.

Bug: None
Change-Id: I518789c94f00cbd6225159cfcfd6004b94151b64
Reviewed-on: https://chromium-review.googlesource.com/896387
Reviewed-by: Karan Bhatia <[email protected]>
Commit-Queue: Devlin <[email protected]>
Cr-Commit-Position: refs/heads/master@{#533524}
diff --git a/extensions/renderer/v8_helpers.h b/extensions/renderer/v8_helpers.h
index d3a1ae70..a19e00c 100644
--- a/extensions/renderer/v8_helpers.h
+++ b/extensions/renderer/v8_helpers.h
@@ -125,14 +125,8 @@
          GetPrivateProperty(context, object, v8_key, out);
 }
 
-// GetPropertyUnsafe() family wraps v8::Object::Get(). They crash when an
-// exception is thrown.
-inline v8::Local<v8::Value> GetPropertyUnsafe(v8::Local<v8::Context> context,
-                                              v8::Local<v8::Object> object,
-                                              v8::Local<v8::Value> key) {
-  return object->Get(context, key).ToLocalChecked();
-}
-
+// GetPropertyUnsafe() wraps v8::Object::Get(), and crashes when an exception
+// is thrown.
 inline v8::Local<v8::Value> GetPropertyUnsafe(
     v8::Local<v8::Context> context,
     v8::Local<v8::Object> object,