summaryrefslogtreecommitdiff
path: root/xfa/src/fxjse/src/util_inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxjse/src/util_inline.h')
-rw-r--r--xfa/src/fxjse/src/util_inline.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/xfa/src/fxjse/src/util_inline.h b/xfa/src/fxjse/src/util_inline.h
index 3ab12c1ef4..b6d66ad4f2 100644
--- a/xfa/src/fxjse/src/util_inline.h
+++ b/xfa/src/fxjse/src/util_inline.h
@@ -4,8 +4,9 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef FXJSE_UTIL_INLINE_H_
-#define FXJSE_UTIL_INLINE_H_
+#ifndef XFA_SRC_FXJSE_SRC_UTIL_INLINE_H_
+#define XFA_SRC_FXJSE_SRC_UTIL_INLINE_H_
+
static V8_INLINE v8::Local<v8::Object> FXJSE_GetGlobalObjectFromContext(
const v8::Local<v8::Context>& hContext) {
return hContext->Global()->GetPrototype().As<v8::Object>();
@@ -44,4 +45,5 @@ static V8_INLINE void* FXJSE_RetrieveObjectBinding(
}
return hObject->GetAlignedPointerFromInternalField(0);
}
-#endif
+
+#endif // XFA_SRC_FXJSE_SRC_UTIL_INLINE_H_