Bug 1174287: Use mozilla:: prefix for namespaced classes in nsGtkIMModule.h. r=Ms2ger
authorDaniel Holbert <dholbert@cs.stanford.edu>
Fri, 12 Jun 2015 14:19:41 -0700
changeset 248653 55180a018737f7b7c5c7dceecccc3778742a928c
parent 248652 c117126d24e7abc064a0f42428c39b40f2c5f629
child 248654 0f9cdb5ebfa8260ed9eb0c86a010b7dbc7b7df59
push id61024
push userdholbert@mozilla.com
push dateFri, 12 Jun 2015 21:20:19 +0000
treeherdermozilla-inbound@0bab6071fcd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMs2ger
bugs1174287
milestone41.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1174287: Use mozilla:: prefix for namespaced classes in nsGtkIMModule.h. r=Ms2ger
widget/gtk/nsGtkIMModule.h
--- a/widget/gtk/nsGtkIMModule.h
+++ b/widget/gtk/nsGtkIMModule.h
@@ -200,43 +200,43 @@ protected:
                 return "InvaildState";
         }
     }
 
     struct Selection final
     {
         uint32_t mOffset;
         uint32_t mLength;
-        WritingMode mWritingMode;
+        mozilla::WritingMode mWritingMode;
 
         Selection()
             : mOffset(UINT32_MAX)
             , mLength(UINT32_MAX)
         {
         }
 
         void Clear()
         {
             mOffset = UINT32_MAX;
             mLength = UINT32_MAX;
-            mWritingMode = WritingMode();
+            mWritingMode = mozilla::WritingMode();
         }
 
         void Assign(const IMENotification& aIMENotification);
-        void Assign(const WidgetQueryContentEvent& aSelectedTextEvent);
+        void Assign(const mozilla::WidgetQueryContentEvent& aSelectedTextEvent);
 
         bool IsValid() const { return mOffset != UINT32_MAX; }
         bool Collapsed() const { return !mLength; }
         uint32_t EndOffset() const
         {
             if (NS_WARN_IF(!IsValid())) {
                 return UINT32_MAX;
             }
-            CheckedInt<uint32_t> endOffset =
-                CheckedInt<uint32_t>(mOffset) + mLength;
+            mozilla::CheckedInt<uint32_t> endOffset =
+                mozilla::CheckedInt<uint32_t>(mOffset) + mLength;
             if (NS_WARN_IF(!endOffset.isValid())) {
                 return UINT32_MAX;
             }
             return endOffset.value();
         }
     } mSelection;
     bool EnsureToCacheSelection(nsAString* aSelectedString = nullptr);