Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: gin/arguments.cc

Issue 401823002: Added IsConstructorCall to gin::Arguments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unit tests Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gin/arguments.h ('k') | gin/wrappable_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/arguments.cc
diff --git a/gin/arguments.cc b/gin/arguments.cc
index c43ff283aa213868d6fafabf4754395d9b0c8038..6703fc2de53c4a874f6015a886d1903f825bfcac 100644
--- a/gin/arguments.cc
+++ b/gin/arguments.cc
@@ -45,4 +45,8 @@ void Arguments::ThrowTypeError(const std::string& message) const {
StringToV8(isolate_, message)));
}
+bool Arguments::IsConstructCall() const {
+ return info_->IsConstructCall();
+}
+
} // namespace gin
« no previous file with comments | « gin/arguments.h ('k') | gin/wrappable_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698