summaryrefslogtreecommitdiff
path: root/runtime/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/image.h')
-rw-r--r--runtime/image.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/image.h b/runtime/image.h
index 9ff18d6133..8cd94bb30e 100644
--- a/runtime/image.h
+++ b/runtime/image.h
@@ -229,11 +229,11 @@ class PACKED(4) ImageHeader {
template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
mirror::Object* GetImageRoot(ImageRoot image_root) const
- SHARED_REQUIRES(Locks::mutator_lock_);
+ REQUIRES_SHARED(Locks::mutator_lock_);
template <ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
mirror::ObjectArray<mirror::Object>* GetImageRoots() const
- SHARED_REQUIRES(Locks::mutator_lock_);
+ REQUIRES_SHARED(Locks::mutator_lock_);
void RelocateImage(off_t delta);
void RelocateImageMethods(off_t delta);