Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b8a808b authored by Chris Blume's avatar Chris Blume
Browse files

Remove ; from closing namespaces in libs/hwui

When closing a namespace a } is sufficient. It doesn't need to be };
like closing a class or enum.

Within frameworks/base/libs/hwui there is a mix between } and }; when
closing a namespace. There are even mixes between a .h and the
corresponding .cpp files.

In a separate CL I was asked to not close with };. That was a good
comment. I adopted the style from nearby code. This CL cleans up the
nearby code.

Test: I made sure the code still built as expected.
Change-Id: Ieb314a4f48d6e33752463f3be4361fdc9be97482
parent b0160bb5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -146,4 +146,4 @@ bool transformPaint(ColorTransform transform, SkPaint* paint, BitmapPalette pale
    return shouldInvert;
}

};  // namespace android::uirenderer
 No newline at end of file
}  // namespace android::uirenderer
+2 −2
Original line number Diff line number Diff line
@@ -31,5 +31,5 @@ typedef uirenderer::VectorDrawable::Tree VectorDrawableRoot;
 */
using DisplayList = skiapipeline::SkiaDisplayList;

};  // namespace uirenderer
};  // namespace android
}  // namespace uirenderer
}  // namespace android
+2 −2
Original line number Diff line number Diff line
@@ -26,5 +26,5 @@ public:
    virtual void notify(const int64_t* buffer);
};

};  // namespace uirenderer
};  // namespace android
}  // namespace uirenderer
}  // namespace android
+2 −2
Original line number Diff line number Diff line
@@ -56,5 +56,5 @@ private:
    std::vector<sp<FrameMetricsObserver> > mObservers;
};

};  // namespace uirenderer
};  // namespace android
}  // namespace uirenderer
}  // namespace android
+2 −2
Original line number Diff line number Diff line
@@ -28,5 +28,5 @@ public:
    virtual void onGlFunctorReleased(Functor* functor) = 0;
};

};  // namespace uirenderer
};  // namespace android
}  // namespace uirenderer
}  // namespace android
Loading