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

Unified Diff: webrtc/system_wrappers/interface/aligned_array.h

Issue 1178043005: Restore rows() and cols() in aligned_array.h (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 6 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
Index: webrtc/system_wrappers/interface/aligned_array.h
diff --git a/webrtc/system_wrappers/interface/aligned_array.h b/webrtc/system_wrappers/interface/aligned_array.h
index 0acf53f48121b398bed16fb1db31ec8e7129b161..8278af2ae3cae482210371053888de0bf39aac16 100644
--- a/webrtc/system_wrappers/interface/aligned_array.h
+++ b/webrtc/system_wrappers/interface/aligned_array.h
@@ -68,6 +68,14 @@ template<typename T> class AlignedArray {
return Row(row)[col];
}
+ int rows() const {
+ return rows_;
+ }
+
+ int cols() const {
+ return cols_;
+ }
+
private:
int rows_;
int cols_;
@@ -78,4 +86,3 @@ template<typename T> class AlignedArray {
} // namespace webrtc
#endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_ALIGNED_ARRAY_
-

Powered by Google App Engine
This is Rietveld 408576698